# Transforming A List Into A Vector - HP 50g User Manual

Graphing calculator.

Advertisement

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,
[[1],[2],[3]] ` @@CXR@@.
for example:
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):
‚å„°@) T YPE! @OBJ @ 1 ! LIST@ ! ARRY@ `
³~~lxv ` K
Page 9-23

Advertisement

Table of Contents

Symbols: 0