Least Squares and Data Fitting — Cheat sheet
On this page
Core rule
Watch for
Full column rank gives unique coefficients. QR or SVD is generally safer numerically than forming normal equations.
Full column rank gives unique coefficients. QR or SVD is generally safer numerically than forming normal equations.