Learn R Programming

matlib (version 0.6.0)

row_minors: Row Minors of A[i,]

Description

Returns the vector of minors of row i of the square matrix A

Usage

row_minors(A, i)

Arguments

A
a square matrix
i
row index

Value

  • a vector of the minors of A[i,]

See Also

Other determinants: cofactor, minor, row_cofactors

Examples

Run this code
M <- matrix(c(4, -12, -4,
              2,   1,  3,
             -1,  -3,  2), 3, 3, byrow=TRUE)
minor(M, 1, 1)
minor(M, 1, 2)
minor(M, 1, 3)
row_minors(M, 1)

Run the code above in your browser using DataLab