Moore–Penrose pseudoinverse.

```
pinv(
```*[1V,2V]*)

matrix | The matrix to be inverted. |

return value | The 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.