A mathematical generalization of matrix inversion used to find optimal least-squares solutions to linear systems.