up previous next

Inverse

Syntax

Inverse(X:OBJECT):OBJECT
    

Summary

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]
]
-------------------------------