findrows() function problem

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

#1 Posted: 9/10/2023 8:54:56 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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) downloaded 934 time(s).

Findrows Problem.png

Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 Posted: 9/10/2023 3:16:44 PM
sergio

sergio

120 likes in 337 posts.

Group: User

using the deNest snippet (found in the tools).

Show Spoiler


Findrows Problem_deNest.sm (20.09 KiB) downloaded 904 time(s).

sergio
1 users liked this post
NDTM Amarasekera 9/10/2023 10:55:00 PM
#3 Posted: 9/10/2023 3:24:29 PM
Martin Kraska

Martin Kraska

1,332 likes in 2,240 posts.

Group: Moderator

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

Findrows Problem_Kr.sm (23.92 KiB) downloaded 885 time(s).
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 users liked this post
sergio 9/10/2023 3:31:00 PM, NDTM Amarasekera 9/10/2023 10:55:00 PM
#4 Posted: 9/10/2023 11:05:09 PM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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 Posted: 9/11/2023 8:03:17 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

Hi,

A revised program, based on mkraska's solution.

Findrows Solved.sm (15.49 KiB) downloaded 933 time(s).

Findrows Solved.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1 users liked this post
sergio 9/11/2023 1:32:00 PM
  • New Posts
  • No New Posts