CoCoA:Adjoint

From ApCoCoAWiki

Adjoint

adjoint matrix

Description

This function returns the adjoint matrix of M.

Example

  Adjoint(Mat([[x,y,z],[t,y,x],[x,x^2,xy]]));
Mat([
  [-x^3 + xy^2, -xy^2 + x^2z, xy - yz],
  [-txy + x^2, x^2y - xz, -x^2 + tz],
  [tx^2 - xy, -x^3 + xy, -ty + xy]
])
-------------------------------
  Adjoint(Mat([[1%5,2%5],[3%5,1%5]]));
Mat([
  [1 % 5, -2 % 5],
  [2 % 5, 1 % 5]
])
-------------------------------

Syntax

Adjoint(M:MAT):MAT

where M is a square matrix.
   <type>matrix</type>