findrows() function problem

findrows() function problem - When applied to a nested array - Messaggi

#1 Pubblicato: 10/09/2023 08:54:56
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Hi,
I came across a problem in the use of findrows() function when applied to a nested array.
The nested array is the result of a Slope Stability Analysis example.
Sufficient explanatory notes included.
However, I was able to get required values by some manipulations as shown.

Is there a better method ?

Findrows Problem.sm (19,99 KiB) scaricato 1466 volta(e).

Findrows Problem.png

Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 Pubblicato: 10/09/2023 15:16:44
sergio

sergio

127 apprezzamenti in 342 post.

Gruppo: User

using the deNest snippet (found in the tools).

Mostra spoiler


Findrows Problem_deNest.sm (20,09 KiB) scaricato 1430 volta(e).

sergio
1 utenti hanno apprezzato questo post
NDTM Amarasekera 10/09/2023 22:55:00
#3 Pubblicato: 10/09/2023 15:24:29
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

I'd perhaps just join the columns by augment() and then apply findrows().

Findrows Problem_Kr.sm (23,92 KiB) scaricato 1414 volta(e).
2023-09-10 20_19_16-SMath Solver - [Findrows Problem.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 utenti hanno apprezzato questo post
sergio 10/09/2023 15:31:00, NDTM Amarasekera 10/09/2023 22:55:00
#4 Pubblicato: 10/09/2023 23:05:09
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Hello Martin and sergio,

Thank you both for the helpful replies
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 Pubblicato: 11/09/2023 08:03:17
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Hi,

A revised program, based on mkraska's solution.

Findrows Solved.sm (15,49 KiB) scaricato 1472 volta(e).

Findrows Solved.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1 utenti hanno apprezzato questo post
sergio 11/09/2023 13:32:00
  • Nuovi post
  • Nessun nuovo post