undefined-inverse ( m n r -- * ) - Factor Documentation

undefined-inverse ( m n r -- * )
Extra matrix operations



Vocabulary
math .matrices .extras

Inputs
m an integer
n an integer
r a rank-kind


Outputs
None

Word description
Throws an undefined-inverse error.

Error description
multiplicative-inverse was used with a non-square matrix of rank rank whose dimensions are m x n. It is not generally possible to find the inverse of a +deficient-rank+ non-square matrix .

Definition
IN: math.matrices.extras

ERROR: undefined-inverse m n r ;


Methods
USING: accessors formatting kernel math.matrices.extras summary
;

M: undefined-inverse summary
[ m>> ] [ n>> ] [ r>> name>> ] tri
"%s x %s matrix of rank %s has no inverse" sprintf ;

AltStyle によって変換されたページ (->オリジナル) /