help for opération for array - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: help for opération for array (/thread-5561.html) |
help for opération for array - lamouline69 - 01-20-2016 11:25 AM 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. thierry[/code] RE: help for opération for array - DrD - 01-20-2016 11:37 AM 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- RE: help for opération for array - lamouline69 - 01-20-2016 11:52 AM Thanks a lot, I try this and all is ok. thierry |