Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Dear all
I try to find A that A is function that have Node and Member_Node as variable as Pic&File attachment.
Thank you
Solved! Go to Solution.
I was not sure if the matrix Member_Node would always have exactly two columns, so I made a function which can also deal with arbitrary dimensions of Member_Node:
In case you want Label_Node and also the result to be simple matrices rather than the nested ones you had shown, you may just change the vector index for the row selector.
Changes for simple Input matrix in yellow
Change for simple output matrix in red
Prime 6 sheet attached
Here's your function:
Be carefull when translating to Prime:
'm, ORIGIN' is an index (not a subscript) of M
The whole 'M m,ORIGIN' in turn is a subscript to Ln.
Results:
Success!
Luc
Great Work 👍👍👍
I was not sure if the matrix Member_Node would always have exactly two columns, so I made a function which can also deal with arbitrary dimensions of Member_Node:
In case you want Label_Node and also the result to be simple matrices rather than the nested ones you had shown, you may just change the vector index for the row selector.
Changes for simple Input matrix in yellow
Change for simple output matrix in red
Prime 6 sheet attached
Great Work 👍👍👍👍