findrows() function problem

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

#1 已发布: 2023/9/10 08:54:56
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: 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)已下载 1480 次。

Findrows Problem.png

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

sergio

127个赞,共342个帖子。

组: User

using the deNest snippet (found in the tools).

显示剧透


Findrows Problem_deNest.sm (20.09 KiB)已下载 1441 次。

sergio
1位用户喜欢此帖子
NDTM Amarasekera 2023/9/10 22:55:00
#3 已发布: 2023/9/10 15:24:29
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

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

Findrows Problem_Kr.sm (23.92 KiB)已下载 1426 次。
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位用户喜欢此帖子
sergio 2023/9/10 15:31:00, NDTM Amarasekera 2023/9/10 22:55:00
#4 已发布: 2023/9/10 23:05:09
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: 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 已发布: 2023/9/11 08:03:17
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Hi,

A revised program, based on mkraska's solution.

Findrows Solved.sm (15.49 KiB)已下载 1483 次。

Findrows Solved.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1位用户喜欢此帖子
sergio 2023/9/11 13:32:00
  • 有新帖
  • 无新帖