Singular LU and Gaussian elimination with partial pivoting
Library · Source module
Singular LU and Gaussian elimination with partial pivoting
Elimination without pivoting, NLAlib.luLower and NLAlib.luUpper, factors a matrix as soon as every zero pivot has only zeros below it (NLAlib.eq_luLower_mul_luUpper); nonzero pivots are not needed. This file states that as a realisation theorem for NLAlib.IsLU, and specialises it to partial pivoting, where every pivot is largest in absolute value among the entries below it: then the multipliers are at most one and row i of the upper factor grows by at most 2^i.
Main results
* NLAlib.isLU_luLower_luUpper_of_forall_eq_zero: elimination computes the LU factorization when every zero pivot has zeros below it. * NLAlib.isLU_luLower_luUpper_of_forall_norm_le, NLAlib.norm_luLower_apply_le_one, NLAlib.norm_luUpper_apply_le: the factors computed with pivots of largest absolute value. * NLAlib.exists_perm_isLU_luLower_luUpper_norm_le: partial pivoting with the row-wise growth bound 2^i. Wilkinson's matrix attains this bound in the final row (NLAlib.exists_norm_luUpper_apply_last_eq_two_pow). * NLAlib.forall_luUpper_apply_self_ne_zero_iff_isUnit_det: the partial pivoting permutation NLAlib.luPartialPivotPerm gives nonzero pivots exactly for nonsingular inputs. * NLAlib.exists_isLU_iff_forall_mem_span, NLAlib.exists_isLowerTriangular_isUnitUpperTriangular_iff_forall_mem_span: row and column inclusion characterize existence of each normalization of LU, including for singular inputs.
Declarations
- NLAlib.exists_isLU_iff_forall_mem_span
- NLAlib.exists_isLowerTriangular_isUnitUpperTriangular_iff_forall_mem_span
- NLAlib.exists_norm_luUpper_apply_last_eq_two_pow
- NLAlib.exists_perm_isLU_luLower_luUpper_norm_le
- NLAlib.forall_luUpper_apply_self_ne_zero_iff_isUnit_det
- NLAlib.isLU_luLower_luUpper_of_forall_eq_zero
- NLAlib.isLU_luLower_luUpper_of_forall_norm_le
- NLAlib.luPartialPivotPerm
- NLAlib.norm_gaussState_luPartialPivotPerm_le
- NLAlib.norm_luLower_apply_le_one
- NLAlib.norm_luUpper_apply_le