adjoint {matlib} | R Documentation |
Calculate the Adjoint of a matrix
Description
This function calculates the adjoint of a square matrix, defined as the transposed matrix of cofactors of all elements.
Usage
adjoint(A)
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
A <- J(3, 3) + 2*diag(3)
adjoint(A)
[Package matlib version 0.9.8 Index]