Imports
Chapter 28 - Matrix Operations
Chapter 28 studies algorithms for matrices over the reals: solving systems of linear equations, inverting matrices, and least-squares approximation. It opens with the LUP decomposition (Theorem 28.1), which underlies Gaussian elimination, determinants, and matrix inversion.
Sections
-
28.1 Solving systems of linear equations. Main declarations:
CLRS.Chapter28.IsUpperTriangular,CLRS.Chapter28.IsLowerTriangular,CLRS.Chapter28.IsUnitLowerTriangular,CLRS.Chapter28.exists_lup_decomposition,CLRS.Chapter28.forwardSubst_spec(Lemma 28.1),CLRS.Chapter28.backSubst_spec(Lemma 28.2),CLRS.Chapter28.lupSolve_correct,CLRS.Chapter28.unique_solution_of_nonsingular, andCLRS.Chapter28.det_eq_sign_mul_det_of_lup(Corollary to Theorem 28.1). The section also records the CLRS running times (CLRS.Chapter28.substitutionCost_isBigOand friends). -
28.2 Inverting matrices. Main declaration:
CLRS.Chapter28.inv_eq_lup. -
28.3 Symmetric positive-definite matrices and least-squares approximation. Main declarations:
CLRS.Chapter28.IsSymPosDef,CLRS.Chapter28.cholesky_decomposition,CLRS.Chapter28.cholesky_unique,CLRS.Chapter28.normal_equations_minimizes, andCLRS.Chapter28.cholesky_schur_complement.