CoCoA:Inverse

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)

Inverse

multiplicative inverse

Description

This function computes the multiplicative inverse of its argument.

It is included for use when writing Inverse(X) comes more naturally

than writing X^(-1), though both notations are functionally equivalent.

Example

  Inverse(Mat([[1,2], [3,4]]));
Mat([
  [-2, 1],
  [3/2, -1/2]
])
-------------------------------

Syntax

Inverse(X:OBJECT):OBJECT
   <type>integer</type>
   <type>matrix</type>
   <type>polynomial</type>
   <type>rat</type>
   <type>ratfun</type>
   <type>zmod</type>