pinv(matrix)

import almafa.engine.linalg-1

Moore–Penrose pseudoinverse.

import almafa.engine.linalg-1;
pinv([1V,2V])
matrixThe matrix to be inverted.
return valueThe inverted matrix.

It can be used with any kind of matrix. It is commonly used to solve linear systems of equations with least-squares fit.

Supports complex matrices as well as matrices with quantities.