cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Returning nested matrix from custom function

djohansson-2
7-Bedrock

Returning nested matrix from custom function

Hi

Anyone knows if it is possible to return a nested matrix from a custom function i.e. I want to build a function that has a return value similar  like the built in LU(M) function.

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:djohansson-2)

You mean from a user DLL?

Not even passing a nested matrix to a User DLL function is officially supported, refer to:Pass/access nested array in user dll. And there is more to be found in this forum, although many attachments of the good old forum are lost..

Success!
Luc

View solution in original post

2 REPLIES 2

Sure thats possible. You can return whatever you can create. But lu(M) does not return a nested matrix but three matrices which are augmented in a single big matrix.

LucMeekes
23-Emerald III
(To:djohansson-2)

You mean from a user DLL?

Not even passing a nested matrix to a User DLL function is officially supported, refer to:Pass/access nested array in user dll. And there is more to be found in this forum, although many attachments of the good old forum are lost..

Success!
Luc

Announcements

Top Tags