Post Reply 
help for opération for array
01-20-2016, 11:25 AM
Post: #1
help for opération for array
Hello,

I'm interesting to kown how it's posible to extract for example the firt colum of an array.
I did only program in RPN mode with HP50G and now I try to do the same programs of topography with the prime.

with RPN mode:
I want to extract the first colum, and transform this in a list like this:

array name M1
in RPN :

M1 1 COL- ->ROW ->LIST

I hope you undersdand my question and thanks for your help. Wink

thierry[/code]
Find all posts by this user
Quote this message in a reply
01-20-2016, 11:37 AM
Post: #2
RE: help for opération for array
Do you mean like this:

RANDMAT(M1,3,3); // to get a matrix in M1
L0:=mat2list(transpose(M1(-1))); // The first column of M1 transposed to a row, and then converted to a list

-Dale-
Find all posts by this user
Quote this message in a reply
01-20-2016, 11:52 AM
Post: #3
RE: help for opération for array
Thanks a lot, I try this and all is ok.

Wink

thierry
Find all posts by this user
Quote this message in a reply
Post Reply 




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