Programming Question: How do you augment one matrix with another?
|
07-02-2014, 12:47 AM
(This post was last modified: 07-02-2014 03:12 AM by Helge Gabert.)
Post: #2
|
|||
|
|||
RE: Programming Question: How do you augment one matrix with another?
If you're after augmenting two matrices horizontally, in CAS, CONCAT works.
If you're after augmenting two matrices vertically, again, in CAS, one solution would be to transform the matrices into lists with mat2list, then use CONCAT on the lists, and put everything back again with list2mat. I have not checked yet if this also works in home. [edit: vertically augmenting works fine in home as well. For horizontal augmentation in home, you need to call CAS.CONCAT(matrix1, matrix2).] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)