Handbook
Glossary
nullspace ( matrix -- seq )
Vocabulary
math
.
matrices
.
elimination
Inputs
matrix
an
object
Outputs
seq
an
object
Definition
USING:
kernel
math.matrices
sequences
;
IN:
math.matrices.elimination
:
nullspace
( matrix -- seq )
echelon
reduced
dup
empty?
[
dup
first
length
<identity-matrix>
[
[
dup
leading
drop
[
basis-vector
]
[
drop
]
if*
]
each
]
with-matrix
flip
nonzero-rows
]
unless
;