Handbook
Glossary
zero-square-matrix? ( object -- ? )
Matrix operations
Prev:
zero-matrix? ( object -- ? )
Next:
null-matrix? ( object -- ? )
Vocabulary
math
.
matrices
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
zero-square-matrix
class.
Definition
USING:
combinators.short-circuit
kernel
;
IN:
math.matrices
:
zero-square-matrix?
( object -- ? )
dup
square-matrix?
[
{
[
zero-matrix?
]
[
square-matrix?
]
}
1&&
]
[
drop
f
]
if
;