NLA-lib Explorer

NLAlib.sum_leverageScoreDistribution

Library · theorem

The leverage-score distribution of a nonzero matrix sums to one.

NLAlib.sum_leverageScoreDistribution.{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 𝕜} (hA : A ≠ 0) :
  ∑ i, leverageScoreDistribution A i = 1

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Leverage.