-- multiplicative inverse of matrix
inverse(X: MAT): MAT
This function computes the multiplicative inverse of its argument. It is included for use when writing inverse(X) comes more naturally than writing
, though both notations are functionally equivalent.
/**/ inverse(mat([[1,2], [3,4]])); matrix(QQ, [[-2, 1], [3/2, -1/2]])