Adjoint matrix

Share:

Description

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

Usage

1

Arguments

A

a square matrix.

Value

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

See Also

cofactor, minor

Examples

1
2
3
4
A <- matrix(c(1,4,5,3,7,2,2,8,3),nrow=3,ncol=3)
A
B <- adjoint(A)
B