NLA-lib Explorer

NLAlib.srhtWithReplacement

Library · def

The SRHT law with replacement: the pushforward by NLAlib.srhtMatrix F of independent signs and \lvert k \rvert independent uniform indices. The measurable space on n is ⊤ inside the definition; NLAlib.srhtWithReplacement_eq_map_prod writes it through the row-sampling law NLAlib.samplingSketch. Junk value: the zero measure when n is empty and k is not. [MartinssonTropp2020, §9.3].

NLAlib.srhtWithReplacement.{u_2, u_3, u_4} {𝕜 : Type u_2} [RCLike 𝕜] (k : Type u_3) {n : Type u_4}
  [Fintype k] [Fintype n] [DecidableEq n] (F : Matrix n n 𝕜) : Measure (Matrix k n 𝕜)

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHT.