35A006 |
^FINDELN
|
( {} A → # flag )
Returns index # of element {} in array.
|
35B006 |
^PULLEL[S]
|
( A # → A el )
Extracts element of index # from array.
Array type test is made in assembly for array
speed.
|
35C006 |
^BANGARRY
|
( el # M → M' )
Puts el at index # of matrix M.
|
35D006 |
^PUT[]
|
( el #i V → V )
Replaces #i-th vector component by element.
|
17B006 |
^LENMATRIX
|
( [] → #el )
( [[]] → #row )
|
33E006 |
^MATSUB
|
( M rmin nrows cmin ncols { #m #n } → M' )
Extracts submatrix from a matrix.
|
340006 |
^MATREPL
|
( M1 M2 → M2' )
Replaces part of matrix destination (M2) by
matrix source (M1). LAM1 to 9 must be bound
like in Llib/LIMain.s ( 9:r 8:c 7:dmat? 6:f
5:md 4:nd 3:smat? 2:ms 1:ns ). Copy begins in
matrix d at row r and column c.
|
35F006 |
^MATRIX>DIAG
|
( A ncols+1 ndiags → V )
Extracts diagonal terms. ncols+1 is there
because MATRIX>DIAG is called inside la>DIAG .
|
360006 |
^MATRIXDIAG>
|
( ncol+1 diagV dlen dims{} → M )
Constructs a matrix from a vector of diagonal
terms.
|
361006 |
^la+ELEMsym
|
( V ob %i → V' )
Inserts element in symbolic vector at row %i.
|
362006 |
^INSERTROW[]
|
( V ob #i → V )
( M V #i → M' )
Inserts element/vector in symbolic
vector/matrix at row #i. Checks for 0 < #i <
#n + 1, but does not check for matrix/vector
size.
|
363006 |
^insertrow[]
|
( ob #i meta → meta )
Inserts element/vector in meta-object at
position #i. Checks for 0 < #i < #n + 1, but
does not check for vector size.
|
364006 |
^INSERTCOL[]
|
( M V #i → M' )
Inserts vector in symbolic matrix at col #i.
Checks for 0 < #i < #n + 1, but does not
check for matrix/vector size.
|
365006 |
^INSERT[]ROW[]
|
( M3 M2 #i → M )
Inserts matrix2 in matrix3 starting from row
#i. Checks for 0 < #i < #n+1, but does not
check for matrix size.
|
366006 |
^INSERT[]COL[]
|
( M3 M2 #i → M )
Inserts matrix2 in matrix3 starting from row
#i. Checks for 0 < #i < #n + 1, but does not
check for matrix size.
|
369006 |
^MATRIXCSWAP
|
( M #c #c' → M )
Exchanges columns c and c' of a symbolic
matrix.
|
36A006 |
^MATRIXRSWAP
|
( M #r #r' → M )
Exchanges lines r and r' of a symbolic
matrix.
|
0AC003 |
^SWAPROWS
|
( M % %' → M' )
SWAP two rows in matrix. Internal version of
xRSWP .
First available in ROM 1.11.
|
36B006 |
^MATRIX-ROW
|
( M #r → M' lr )
Extracts row #r from M. Checks boundaries.
|
36C006 |
^METAMAT-ROW
|
( meta-M #r → meta-M lr )
Extracts row #r from meta-matrix. Checks
boundaries.
|
36D006 |
^MATRIX-COL
|
( M #c → M cc )
Extracts column #r from matrix.
Checks boundaries.
|
36E006 |
^METAMATCSWAP
|
( meta-M #c #c' → meta-M )
Exchanges columns c and c' of a meta-matrix.
|
36F006 |
^METAMATRSWAP
|
( meta-M #l #l' → meta-M )
Exchanges lines l and l' of a meta-matrix (or
vector).
|
370006 |
^STOMAText
|
( M → )
Stores matrix in 'MATRIX' in current
directory.
|
378006 |
^ADDMATOBJext
|
( arry ob → arry arry )
( ob arry → arry arry )
Used for addition of numeric matrix and
symbolic object.
|
379006 |
^VUNARYOP
|
( v op → V )
Applies unary op(v[i]) to get V[i].
|
37A006 |
^VBINARYOP
|
( V2 V1 binop → V )
Works even if V2 and V1 do not have not the
same dimension.
|
37B006 |
^PEVAL
|
( V r → P[r] )
Horner evaluation, where elements of V
represent coefficients of a polynomial.
|