up previous next
inverse

multiplicative inverse of matrix

Syntax
inverse(X: MAT): MAT

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(QQ, [[1,2], [3,4]]));
matrix(QQ,
 [[-2, 1],
  [3/2, -1/2]])

See Also