adjoint: Calculate the Adjoint of a matrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/determinants.R

Description

This function calculates the adjoint of a square matrix, defined as the transposed matrix of cofactors of all elements.

Usage

1

Arguments

A

a square matrix

Value

a matrix of the same size as A

Author(s)

Michael Friendly

See Also

Other determinants: Det, cofactor, minor, rowCofactors, rowMinors

Examples

1
2
A <- J(3, 3) + 2*diag(3)
adjoint(A)

matlib documentation built on April 4, 2018, 5:03 p.m.