NLAlib.leverageScore
Library · def
The leverage score of row i of \mathbf{A}: the i-th diagonal entry of the orthogonal projector onto the column space of \mathbf{A}, for every shape and rank (0 on every row when \mathbf{A} = \mathbf{0}). [Woodruff2014, Definition 16 and the paragraph after it] (there \ell_i^2, the squared row norm of a basis of the range); [MartinssonTropp2020, §9.6.1] (there \lVert \mathbf{P}_L \boldsymbol{\delta}_i \rVert^2, with \mathbf{P}_L the projector onto the column space).
NLAlib.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 : m) : ℝImport NLAlib.Matrix.Subspaces.Leverage.