NLA-lib Explorer

NLAlib.sum_leverageScore

Library · theorem

The leverage scores sum to the rank of \mathbf{A}. [Woodruff2014, after Definition 16]; [MartinssonTropp2020, §9.6.1].

NLAlib.sum_leverageScore.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3}
  [Fintype m] [Fintype n] (A : Matrix m n 𝕜) : ∑ i, leverageScore A i = ↑A.rank

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Leverage.