Reference Guide

Full Command and Function Reference 3-39
COL
Type: Command
Description: Matrix to Columns Command: Transforms a matrix into a series of column vectors and returns
the vectors and a column count, or transforms a vector into its elements and returns the elements
and an element count.
COL
introduces no rounding error.
Access:
MATRIX COL
COL
( ´ is the left-shift of the Pkey).
CREATE COLUMN
COL
( Ø is the left-shift of the 5key).
Input/Output:
Level 1/Argument 1 Leveln+1/Item 1 ... Level 2/Item 2 Level 1/Item 3
[[ matrix ]]
[ vector ]
col1
[ vector ]
coln
n
colcount
[ vector ]
element
1
element
n
n
elementcount
See also: COL→, →ROW, ROW
COL
Type: Command
Description: Columns to Matrix Command: Transforms a series of column vectors and a column count into a
matrix containing those columns, or transforms a sequence of numbers and an element count into
a vector with those numbers as elements.
All vectors must have the same length. The column or element count is rounded to the nearest
integer.
Access:
MATRIX COL COL
( ´ is the left-shift of the Pkey).
CREATE COLUMN COL
( Ø is the left-shift of the 5key).
Input/Output:
Ln+1/A1 ... L2/A2 L1/An+1 Level 1/Item 1
[ vector ]
col1
[ vector ]
coln
n
colcount
[[ matrix ]]
element
1
element
n
n
elementcount
[ vector ]
L = Level; A = Argument; I = item
See also: →COL, →ROW, ROW→
COL–
Type: Command
Description: Delete Column Command: Deletes column n of a matrix (or element n of a vector), and returns
the modified matrix (or vector) and the deleted column (or element).
n is rounded to the nearest integer.
Access:
MATRIX COL COL
- ( ´ is the left-shift of the Pkey).
CREATE COLUMN COL
- ( Ø is the left-shift of the 5key).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 2/Item 1 Level 1/Item 2
[[ matrix ]]
1
n
column
[[ matrix ]]
2
[ vector ]
column
[ vector ]
1
n
element
[ vector ]
2
element
n
See also: COL+, CSWP, ROW+, ROW–