Learn R Programming

RConics (version 1.0)

adjoint: Adjoint matrix

Description

Compute the classical adjoint (also called adjugate) of a square matrix. The adjoint is the transpose of the cofactor matrix.

Usage

adjoint(A)

Arguments

A

a square matrix.

Value

The adjoint matrix of A (square matrix with the same dimension as A).

See Also

cofactor, minor

Examples

Run this code
# NOT RUN {
A <- matrix(c(1,4,5,3,7,2,2,8,3),nrow=3,ncol=3)
A
B <- adjoint(A)
B
# }

Run the code above in your browser using DataLab