Insert a row into an existing Matrix

Insert a row into an existing Matrix - Best way to insert a row / col into matrix - Сообщения

#1 Опубликовано: 21.03.2015 13:27:34
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: 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 Опубликовано: 22.03.2015 14:31:34
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений