NLA-lib Explorer

Matrix.IsHermitian.choleskyLower_apply_self

Library 路 theorem

The diagonal of the factor computed by elimination on a Hermitian matrix is the square root of the real part of the pivot: \mathbf{L}_{i,i} = \sqrt{\operatorname{Re} \mathbf{A}^{(i)}_{i,i}}, with \mathbf{A}^{(i)} the state after i steps (NLAlib.gaussState) and \sqrt{t} = 0 for t < 0.

Matrix.IsHermitian.choleskyLower_apply_self.{u_1} {饾暅 : Type u_1} [RCLike 饾暅] {n : 鈩晑
  {A : Matrix (Fin n) (Fin n) 饾暅} (hA : A.IsHermitian) (i : Fin n) :
  choleskyLower A i i = 鈫戔垰(RCLike.re (gaussState A (鈫慽) i i))

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Cholesky.