Learn R Programming

RConics (version 1.1.2)

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)

Value

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

Arguments

A

a square matrix.

See Also

cofactor, minor

Examples

Run this code
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