NLAlib.sum_rowNormSqDistribution
Library · theorem
The squared-row-norm weights of a nonzero matrix sum to one: \sum_i \|\mathbf{a}_i\|^2/\|\mathbf{A}\|_{\mathsf{F}}^2 = 1 for \mathbf{A} \ne \mathbf{0}, with \mathbf{a}_i the rows of \mathbf{A}.
NLAlib.sum_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 𝕜} (hA : A ≠ 0) :
∑ i, rowNormSqDistribution A i = 1Import NLAlib.Matrix.Norms.Frobenius.