NLAlib.rowNormSqDistribution
Library 路 def
The squared-row-norm distribution p_i = \|\mathbf{a}_i\|^2/\|\mathbf{A}\|_{\mathsf{F}}^2 of the rows \mathbf{a}_i of \mathbf{A}: the weights of length-squared row sampling, for use with NLAlib.samplingMeasure (randomized Kaczmarz) and NLAlib.samplingSketch (row sampling). Junk value: all weights 0 when \mathbf{A} = \mathbf{0}; otherwise they sum to one (NLAlib.sum_rowNormSqDistribution). [StrohmerVershynin2009, Algorithm 1].
NLAlib.rowNormSqDistribution.{u_1, u_3, u_4} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_3} {n : Type u_4}
[Fintype m] [Fintype n] (A : Matrix m n 饾暅) (i : m) : 鈩濃墺0Import NLAlib.Matrix.Norms.Frobenius.