Input/Output:

 

 

 

 

 

 

L1/A1

 

 

 

 

 

Ln/I1 ... L3/In–2

L2/In–1

L1/In

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ x y ]

 

 

 

 

 

 

 

x

y

 

 

 

[ x

,

 

y

]

 

 

 

 

 

x

r

y

theta

 

 

 

 

 

 

r

 

€ theta

 

 

 

 

 

 

 

 

 

 

 

 

 

[ x1, x2, x3 ]

 

 

 

x1

x2

x3

 

 

 

[ x

,

 

 

x

, x

z

]

 

 

x

1

x

theta

x

z

 

 

 

 

1

 

€ theta

 

 

 

 

 

 

 

 

 

 

 

[ x

,

 

 

x

,

x

 

]

 

x

1

x

theta

x

phi

 

 

 

1

 

€ theta € phi

 

 

 

 

 

 

 

 

 

[ x1, x2, ..., xn ]

 

x1

... xn–2

xn–1

xn

 

 

 

 

 

 

(x, y)

 

 

 

 

 

 

 

x

y

 

 

 

 

(x

,

 

y

)

 

 

 

 

 

 

x

r

y

theta

 

 

 

 

 

 

r

 

€ theta

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L = Level; A = Argument; I = item

 

 

 

 

 

 

Example 1:

With flag –16 clear (Rectangular mode), (2,3) V→ returns 2 to level 2 and 1 to level 1.

Example 2:

With flag –15 clear and –16 set (Polar/Cylindrical mode), [ 2 €7 4 ] V→ returns 2 to

 

level 3, 7 to level 2, and

4 to level 1.

 

 

 

 

 

 

 

 

 

Example 3:

[ 9 7 5 3 ] V→ returns 9 to level 4,

7 to level 3, 5 to level 2, and

3 to level 1,

 

independent of the state of flags –15 and –16.

 

 

 

 

 

 

 

 

See also:

→V2, →V3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

→V2

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Type:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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)

 

 

 

 

 

 

 

 

 

 

 

Example 1:

With flags –19 and –16 clear, 2 3 →V2 returns [ 2 3 ].

 

 

 

 

 

 

Example 2:

With flags –19 and –16 set (Polar/Spherical mode), 2 3 →V2 returns (2,€3).

 

 

See also:

V→, →V3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

→V3

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Type:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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:

3-268 Full Command and Function Reference