Handbook
Glossary
square-matrix
Matrix operations
Prev:
irregular-matrix
Next:
zero-matrix
Vocabulary
math
.
matrices
Class description
The class of square matrices. A square matrix is a
matrix
which has the same number of rows and columns. In other words, its outermost two dimensions are of equal size.
See also
matrix
,
irregular-matrix
,
zero-matrix
,
null-matrix
,
zero-square-matrix
,
null-matrix
Definition
USING:
kernel
sequences.private
;
IN:
math.matrices
PREDICATE:
square-matrix
<
matrix
dimension
first2-unsafe
=
;
Methods
USING:
math.matrices
;
M:
square-matrix
<square-cols>
;
USING:
math.matrices
;
M:
square-matrix
<square-rows>
;
USING:
kernel
math.matrices
math.matrices.extras
math.matrices.extras.private
sequences
;
M:
square-matrix
determinant
[
length
]
keep
(determinant)
;
USING:
math.matrices
math.matrices.extras
math.matrices.extras.private
;
M:
square-matrix
rank
square-rank
;
USING:
math
math.matrices
math.matrices.extras.private
;
M:
square-matrix
recip
(square-inverse)
;
inline