Handbook
Glossary
rank-kind? ( object -- ? )
Vocabulary
math
.
matrices
.
extras
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
rank-kind
class.
Definition
USING:
kernel
;
IN:
math.matrices.extras
:
rank-kind?
( object -- ? )
dup
+uncalculated-rank+?
[
drop
t
]
[
dup
+deficient-rank+?
[
drop
t
]
[
dup
+zero-rank+?
[
drop
t
]
[
dup
+half-rank+?
[
drop
t
]
[
+full-rank+?
]
if
]
if
]
if
]
if
;