NLA-lib Explorer

NLAlib.Ops.Machine.normalSample

Library · def

The sampler on an ideal standard complex Gaussian. Its components are already divided by the exact square root of two, which is undone before rounding the raw real Gaussian words.

NLAlib.Ops.Machine.normalSample {K : Type} (M : Ops.Machine K) (roundGaussian : ℝ → K) (z : ℂ) :
  K × K

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSampling.