linalg(deprecated)/adjoint - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : linalg(deprecated)/adjoint

linalg(deprecated)

 adjoint
 compute the adjoint of a matrix
 adj
 a synonym for adjoint

 Calling Sequence adjoint(A) adj(A)

Parameters

 A - square matrix (with all elements assigned)

Description

 • 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.

Examples

Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[Adjoint], instead..

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{matrix}\left(3,3,\left[1,2,3,4,5,6,7,8,9\right]\right)$
 ${A}{≔}\left[\begin{array}{ccc}{1}& {2}& {3}\\ {4}& {5}& {6}\\ {7}& {8}& {9}\end{array}\right]$ (1)
 > $\mathrm{adj}\left(A\right)$
 $\left[\begin{array}{ccc}{-3}& {6}& {-3}\\ {6}& {-12}& {6}\\ {-3}& {6}& {-3}\end{array}\right]$ (2)
 > $B≔\mathrm{array}\left(1..2,1..2,\left[\left[1,4\right],\left[0,2\right]\right]\right)$
 ${B}{≔}\left[\begin{array}{cc}{1}& {4}\\ {0}& {2}\end{array}\right]$ (3)
 > $\mathrm{adjoint}\left(B\right)$
 $\left[\begin{array}{cc}{2}& {-4}\\ {0}& {1}\end{array}\right]$ (4)

 See Also