NLAlib.IsLeastSquaresSolution
Library ยท def
\mathbf{x} is a least-squares solution of \mathbf{A}\mathbf{x} \approx \mathbf{b}: it minimises the Euclidean norm of the residual \mathbf{b} - \mathbf{A}\mathbf{x} over all vectors, \|\mathbf{b} - \mathbf{A}\mathbf{x}\| \le \|\mathbf{b} - \mathbf{A}\mathbf{y}\| for every \mathbf{y}. [GolubVanLoan2013, ยง5.3].
NLAlib.IsLeastSquaresSolution.{u_1, u_3, u_4} {๐ : Type u_1} [RCLike ๐] {m : Type u_3}
{n : Type u_4} [Fintype m] [Fintype n] (A : Matrix m n ๐) (b : m โ ๐) (x : n โ ๐) : PropImport NLAlib.Matrix.Pseudoinverse.LeastSquares.