Forming a matrix from a list


[Prev][Next][Index][Thread]

Forming a matrix from a list



For a paper I am writing, I am looking for a simple TI-92 command
that will form a matrix m from a two-element list xx, as follows:

The first row of the matrix will be the elements of xx.
The second row of the matrix will be the squares of the elements of xx.

One would hope that the command  [xx;xx^2]-->m would work, but it doesn't.

One way to do it is:

list>mat(augment(xx,xx^2),2)--> m

but that is just too kludgy for my purposes.

Anyone have an idea?

RWW Taylor
National Technical Institute for the Deaf
Rochester Institute of Technology
Rochester NY 14623

>>>> The plural of mongoose begins with p. <<<<