NLA-lib Explorer

NLAlib.Computation.hasLaw_complexGaussianVector_pi_gaussianReal

Library · theorem

Independent standard real Gaussians in pairs are a complex Gaussian vector: under the product of 2N standard real Gaussian laws, the vector with entry i equal to (\mathbf{x}_{2i} + i\,\mathbf{x}_{2i+1})/\sqrt2 has the law NLAlib.complexGaussianVector. No printed source.

NLAlib.Computation.hasLaw_complexGaussianVector_pi_gaussianReal (N : ℕ) :
  HasLaw (fun x i ↦ { re := x ⟨2 * ↑i, ⋯⟩ / √2, im := x ⟨2 * ↑i + 1, ⋯⟩ / √2 })
    (complexGaussianVector (Fin N)) (Measure.pi fun x ↦ gaussianReal 0 1)

Full source on GitHub

Import NLAlib.RandomMatrix.Gaussian.Tape.