Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** 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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jan 27, 2021
11:28 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 27, 2021
11:28 PM

Prepare Element

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.

ACCEPTED SOLUTION

Accepted Solutions

Jan 28, 2021
05:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 28, 2021
05:53 AM

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

4 REPLIES 4

Jan 28, 2021
04:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 28, 2021
04:54 AM

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

- Tags:
- ere's your function

Jan 28, 2021
10:22 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 28, 2021
10:22 AM

Great Work 👍👍👍

Jan 28, 2021
05:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 28, 2021
05:53 AM

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

Jan 28, 2021
10:20 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 28, 2021
10:20 AM

Great Work 👍👍👍👍