NLA-lib Explorer

NLAlib.leverageScoreDistribution

Library 路 def

The leverage-score distribution of \mathbf{A}: the scores divided by the rank, a probability vector when \mathbf{A} \ne \mathbf{0} (NLAlib.sum_leverageScoreDistribution). Junk value 0 on every row when \mathbf{A} = \mathbf{0}. [Woodruff2014, Definition 16] (the case \beta = 1); [MartinssonTropp2020, 搂9.6.1].

NLAlib.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 饾暅) (i : m) : 鈩濃墺0

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Leverage.