minor
Returns a (first) minor of a square matrix.
Syntax
-
minor(A, i, j)-
Ais a square matrix -
iandjare positive integers
-
Description
If A is a square matrix, i a valid row index of A, and j a valid column index of A, then minor(A, i, j) returns the (i, j) minor of A, that is, the determinant of the submatrix obtained from A by removing the ith row and the jth column.
In other words,
minor(A, i, j) = det(SubmatrixByRemoval(A, i, j)).
Examples
A ≔ ❨❨4, 1, 2, 3❩, ❨6, 1, 2, 3❩, ❨7, 6, 5, 0❩, ❨1, 2, 1, 6❩❩
⎛4 1 2 3⎞ ⎜6 1 2 3⎟ ⎜7 6 5 0⎟ ⎝1 2 1 6⎠
minor(A, 2, 3)
126