Vocabularymath.
matrices.
extrasInputsOutputsWord descriptionCalculate the
matrix of minors of the input matrix. See
minor on Wikipedia.
Notes• | The shape of the input matrix is preserved in the output. |
• | This word is intended for use with "flat" (2-dimensional) matrices. |
• | This word assumes that elements of the input matrix are compatible with the following words: determinant ( matrix -- determinant ) |
Errorsnon-square-determinant if the input matrix is not a
square-matrix.
ExamplesUSING: math.matrices.extras prettyprint ;
{
{ -8 0 7 -11 }
{ 15 0 -3 -11 }
{ 1 -10 -4 6 }
{ 11 -15 3 -15 }
} >minors .
{
{ 1710 -130 2555 -1635 }
{ -690 -286 -2965 1385 }
{ 1650 -754 3795 -1215 }
{ 1100 416 2530 -810 }
}
Definition