Manual

476 Matrices
RREF Reduced Row-Echelon Form. Changes a rectangular
matrix to its reduced row-echelon form.
RREF(matrix)
Example:
RREF returns
Create
Make Creates a matrix of dimension rows × columns, using
expression to calculate each element. If expression
contains the variables I and J, then the calculation for each
element substitutes the current row number for I and the
current column number for J. You can also create a vector
by the number of elements (e) instead of the number of
rows and columns.
MAKEMAT(expression, rows, columns)
MAKEMAT
(expression, elements)
Examples:
MAKEMAT(0,3,3) returns a 3 × 3 zero matrix,
[[0,0,0],[0,0,0],[0,0,0]].
MAKEMAT(2,2,3) returns the 2 × 3 matrix
[[2,2,2],[2,2,2]].
MAKEMAT(I+J–1,2,3) returns the 2 × 3 matrix
[[1,2,3],[2,3,4]]
Note in the example above that each element is the
sum of the row number and column number minus 1.
MAKEMAT(2,2) returns the 2-element vector
[2,2].
Identity Identity matrix. Creates a square matrix of dimension
size × size whose diagonal elements are 1 and off-
diagonal elements are zero.
IDENMAT(size)
12 1
34 1
1 0 0.2
0 1 0.4