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