zero-square-matrix - Factor Documentation (original) (raw)

zero-square-matrix
Matrix operations

Prev: zero-matrix
Next: null-matrix

Vocabulary
math.matrices

Class description
The class of square zero matrices. This predicate is a composition of zero-matrix and square-matrix.

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

Definition

USING: combinators.short-circuit ;

IN: math.matrices

PREDICATE: zero-square-matrix < square-matrix
{ [ zero-matrix? ] [ square-matrix? ] } 1&& ;

Methods

USING: kernel math.matrices math.matrices.extras ;

M: zero-square-matrix determinant drop 0 ;

USING: math math.matrices ;

M: zero-square-matrix recip ; inline