mat
Constructs a matrix from row arrays -- exactly 2x2 or 3x3 dispatches to the fixed-size fast path, anything else (including non-square) uses the general matrix type.
rows(array[]) -- one or more equal-length row arrays
Constructs a matrix from row arrays -- exactly 2x2 or 3x3 dispatches to the fixed-size fast path, anything else (including non-square) uses the general matrix type.
rows (array[]) -- one or more equal-length row arraysThe determinant of a matrix.
m (matrix) -- The trace (sum of diagonal entries) of a matrix.
m (matrix) -- The inverse of a matrix, computed exactly (fractions, not floats). Returns explanatory text ('singular, no inverse') when the matrix has no inverse.
m (matrix) -- The transpose of a matrix.
m (matrix) -- Adds two matrices of the same shape.
a (matrix) -- b (matrix) -- same shape as aSubtracts b from a, for two matrices of the same shape.
a (matrix) -- b (matrix) -- same shape as aMultiplies two compatibly-shaped matrices.
a (matrix) -- b (matrix) -- Multiplies every entry of a matrix by a scalar.
m (matrix) -- s (number) -- scale factorSolves the linear system m*x = b for x, exactly, across 2x2/3x3/general shapes. Returns explanatory text ('no unique solution') when the system has none.
m (matrix) -- b (number[]) -- the right-hand-side array, matching m's row countReduced row echelon form of any matrix (2x2, 3x3 or general rectangular), by exact Gauss-Jordan elimination -- fractions stay fractions.
m (matrix) -- rref() as a step-by-step animation: one frame per elementary row operation (swap, scale, add a multiple of another row), each captioned with the exact operation, e.g. "R2 -> R2 - 2 R1".
m (matrix) --