linalg(deprecated)
adjoint
compute the adjoint of a matrix
adj
a synonym for adjoint
Calling Sequence
Parameters
Description
Examples
adjoint(A)
adj(A)
A
-
square matrix (with all elements assigned)
Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[Adjoint], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function adjoint computes the matrix such that the matrix product of A and adjoint(A) is the product of det(A) and the matrix identity. This is done through the computation of minors of A.
The command with(linalg,adjoint) allows the use of the abbreviated form of this command.
Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[Adjoint], instead..
with⁡linalg:
A≔matrix⁡3,3,1,2,3,4,5,6,7,8,9
A≔123456789
adj⁡A
−36−36−126−36−3
B≔array⁡1..2,1..2,1,4,0,2
B≔1402
adjoint⁡B
2−401
See Also
linalg(deprecated)[det]
linalg(deprecated)[htranspose]
linalg(deprecated)[minor]
LinearAlgebra
Download Help Document