Transforming a list into a vector, Transforming a list into a vector ,9-23 – HP 50g Graphing Calculator User Manual
Page 300
Page 9-23
This variable,
@@CXR@@, can now be used to directly transform a column vector to a
row vector. In RPN mode, enter the column vector, and then press
@@CXR@@. Try,
for example:
[[1],[2],[3]] ` @@CXR@@.
After having defined variable
@@CXR@@, we can use it in ALG mode to transform a
row vector into a column vector. Thus, change your calculator’s mode to ALG
and try the following procedure:
[[1],[2],[3]] ` J @@CXR@@ „Ь „о
resulting in:
Transforming a list into a vector
To illustrate this transformation, we’ll enter the list
{1,2,3} in RPN mode.
Then, follow the next exercise to transform a list into a vector:
1 - Use function OBJ to decompose the column vector
2 - Type a 1 and use function LIST to create a list in stack level 1:
3 - Use function ARRY to create the vector
These three steps can be put together into a UserRPL program, entered as
follows (in RPN mode):
‚å„°@)TYPE! @OBJ @ 1 ! LIST@ ! ARRY@ `
³~~lxv ` K