cofactor | R Documentation |
(i,j)
-cofactor and (i,j)
-minor of a matrixCompute 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
.
cofactor(A, i, j)
minor(A, i, j)
A |
a square matrix. |
i |
the |
j |
the |
The (i,j)
-minor/cofactor of the matrix A
(single value).
adjoint
A <- matrix(c(1,4,5,3,7,2,2,8,3),nrow=3,ncol=3)
A
minor(A,2,3)
cofactor(A,2,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.