CoCoA:Adjoint

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>