1 Pages (5 items)
findrows() function problem - When applied to a nested array - Messages
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 828 time(s).

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 828 time(s).

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
using the deNest snippet (found in the tools).
Findrows Problem_deNest.sm (20.09 KiB) downloaded 808 time(s).
sergio
Findrows Problem_deNest.sm (20.09 KiB) downloaded 808 time(s).
sergio
1 users liked this post
NDTM Amarasekera 2023/9/10 22:55:00
I'd perhaps just join the columns by augment() and then apply findrows().
Findrows Problem_Kr.sm (23.92 KiB) downloaded 788 time(s).
![2023-09-10 20_19_16-SMath Solver - [Findrows Problem.sm_].png](/zh-Hans-CN/files/Download/PkMKH3/2023-09-10-20_19_16-SMath-Solver---[Findrows-Problem.sm_].png)
Findrows Problem_Kr.sm (23.92 KiB) downloaded 788 time(s).
![2023-09-10 20_19_16-SMath Solver - [Findrows Problem.sm_].png](/zh-Hans-CN/files/Download/PkMKH3/2023-09-10-20_19_16-SMath-Solver---[Findrows-Problem.sm_].png)
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Hello Martin and sergio,
Thank you both for the helpful replies
Thank you both for the helpful replies
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Hi,
A revised program, based on mkraska's solution.
Findrows Solved.sm (15.49 KiB) downloaded 821 time(s).

A revised program, based on mkraska's solution.
Findrows Solved.sm (15.49 KiB) downloaded 821 time(s).

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
1 users liked this post
sergio 2023/9/11 13:32:00
1 Pages (5 items)
- New Posts
- No New Posts
