Handbook
Glossary
null-matrix? ( object -- ? )
Matrix operations
Prev:
zero-square-matrix? ( object -- ? )
Next:
<matrix> ( m n element -- matrix )
Vocabulary
math
.
matrices
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
null-matrix
class.
Definition
USING:
kernel
sequences
sequences.deep
;
IN:
math.matrices
:
null-matrix?
( object -- ? )
dup
matrix?
[
flatten
empty?
]
[
drop
f
]
if
;