NLAlib.hasLaw_samplingSketchMatrix
Library · theorem
From the user's own indices: if \iota is a vector of \lvert k \rvert i.i.d. indices with law NLAlib.samplingMeasure p, the sketch built from it has law NLAlib.samplingSketch k p.
NLAlib.hasLaw_samplingSketchMatrix.{u_1, u_2, u_3, u_4} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
{μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4} [Fintype k] [Fintype n]
[DecidableEq n] {p : n → ℝ≥0} [MeasurableSpace n] [MeasurableSingletonClass n] {ι : Ω → k → n}
(hι : HasLaw ι (Measure.pi fun x ↦ samplingMeasure p) μ) :
HasLaw (fun ω ↦ samplingSketchMatrix p (ι ω)) (samplingSketch k p) μImport NLAlib.Sketching.Sampling.RowSampling.