Full Command and Function Reference 3-195
→V2
Type: Command
Description: Stack to Vector/Complex Number Command: Converts two specified numbers into a 2-element
vector or a complex number.
The result returned depends on the setting of flags –16 and –19, as shown in the following table:
Flag –19 clear Flag –19 set
Flag –16 clear (Rectangular mode) [ x y ] (x, y)
Flag –16 set (Polar mode) [ x
€
y ] (x,
€
y)
Access: !´ VECTOR →V2 ( ´ is the left-shift of the Pkey).
Flags: Coordinate System (-16), Complex Mode (-19)
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
x y
→
[ x y ]
x y
→
[ x € y ]
x y
→
(x, y)
x y
→
(x, € y)
See also: V→, →V3
→V3
Type: Command
Description: Stack to 3-Element Vector Command: Converts three numbers into a 3-element vector.
The result returned depends on the coordinate mode used, as shown in the following table:
Mode Result
Rectangular (flag –16 clear) [ x
1
x
2
x
3
]
Polar/Cylindrical (flag –15 clear and –16 set)
[ x
1
x
€
theta
x
z
]
Polar/Spherical (flag –15 and –16 set)
[ x
1
x
€
theta
x
€
phi
]
Access: !´ VECTOR →V3 ( ´ is the left-shift of the Pkey).
Flags: Coordinate System (-15 and -16)
Input/Output:
Level 3/Argument 1 Level 2/Argument 2 Level 1/Argument 3 Level 1/Item 1
x
1
x
2
x
3
→
[ x
1
x
2
x
3
]
x
1
x
theta
x
z
→
[ x
1
€x
theta
x
z
]
x
1
x
theta
x
phi
→
[ x
1
€x
theta
x
phi
]
See also: V→, →V2
VANDERMONDE
CAS: Build Vandermonde matrix, or alternant matrix, from a list of objects.