null-matrix - Factor Documentation (original) (raw)

Vocabulary
math.matrices

Class description
The class of null matrices. A null matrix is an empty sequence, or a sequence which consists only of empty sequences.

Notes
In mathematics, a null matrix is a matrix full of zeroes. In Factor, such a matrix is called a zero-matrix.

See also
matrix, irregular-matrix, square-matrix, zero-matrix, zero-square-matrix

Definition

USING: sequences sequences.deep ;

IN: math.matrices

PREDICATE: null-matrix < matrix flatten empty? ;