Digital Garden
Maths
Linear Algebra
Moore-Penrose Pseudoinverse

Moore-Penrose Pseudoinverse

Basically just use SVD, will either be an exact inverse, left inverse, right inverse, or best approximation.