R/determinants.R
rowMinors.Rd
Returns the vector of minors of row i of the square matrix A
rowMinors(A, i)
a square matrix
row index
a vector of the minors of A[i,]
Other determinants: Det(), adjoint(), cofactor(), minor(), rowCofactors()
Det()
adjoint()
cofactor()
minor()
rowCofactors()
Michael Friendly
M <- matrix(c(4, -12, -4, 2, 1, 3, -1, -3, 2), 3, 3, byrow=TRUE) minor(M, 1, 1) #> [1] 11 minor(M, 1, 2) #> [1] 7 minor(M, 1, 3) #> [1] -5 rowMinors(M, 1) #> [1] 11 7 -5