inverse ( matrix -- matrix )


Vocabulary
math.matrices.elimination

Definition
USING: kernel math.matrices sequences ;

IN: math.matrices.elimination

: inverse ( matrix -- matrix )
dup length [ identity-matrix [ append ] 2map solution ] keep
[ tail ] curry map ;