Insert a row into an existing Matrix

Insert a row into an existing Matrix - Best way to insert a row / col into matrix - Messages

#1 Posted: 3/21/2015 1:27:34 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

What is the "best" way to insert a row into an existing matrix.

Say I am looping through a matrix and I want to insert a row (or column) of elements because of some other criteria. Then continue to loop through the matrix, adding rows when required by the conditions set. What is the best way to do this?

Thanks
#2 Posted: 3/22/2015 2:31:34 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

You can try using stack() and submatrix() or with the Linq extension
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts