(i,j)-cofactor and (i,j)-minor: \((i,j)\)-cofactor and \((i,j)\)-minor of a matrix
Description
Compute the \((i,j)\)-cofactor, respectively the \((i,j)\)-minor of the matrix \(A\). The \((i,j)\)-cofactor is obtained by multiplying the \((i,j)\)-minor by \((-1)^{i+j}\). The \((i,j)\)-minor of \(A\), is the determinant of the \((n - 1) \times (n - 1)\) matrix that results by deleting the \(i\)-th row and the \(j\)-th column of \(A\).
Usage
cofactor(A, i, j)
minor(A, i, j)
Arguments
A
a square matrix.
i
the \(i\)-th row.
j
the \(j\)-th column.
Value
The \((i,j)\)-minor/cofactor of the matrix \(A\) (single value).