Post Reply 
Programming Question: How do you augment one matrix with another?
07-01-2014, 08:57 PM
Post: #1
Programming Question: How do you augment one matrix with another?
One reason I was attracted to the HP Prime after years of settling for lesser programmable calculators is the flexibility of matrix construction and deconstruction. Yet, when it comes down to writing some code, I am hard pressed to find the basic augment(mat A, mat B) command. Foithermore, I don't see a simple work around short of redimensioning followed by transfer loops.

I also had a problem transferring list data such as would be found in L1 to a column or row of a matrix but find that the following works:
addrow(M1,seq(L1(X),X,1,ColDim(M1)),row#);

So how about a little help here? Am I missing something or do we have to write out matrix augmentation the hard way? Also is there a less convoluted way to get data from a lists to matrices? These are pretty fundamental operations.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Programming Question: How do you augment one matrix with another? - Jsather - 07-01-2014 08:57 PM



User(s) browsing this thread: 1 Guest(s)