Options
All
  • Public
  • Public/Protected
  • All
Menu

Gaussian random number generator It uses the well-known fact that the sum of 12 uniform deviate in (-.5,.5) is approximately a Gaussian deviate with average 0 and standard deviation 1. The uniform deviate is supplied by RNG.

Class RNG must implement the following interface:

  RNG::sample_type RNG::next() const;

Hierarchy

  • CLGaussianRng

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns CLGaussianRng

Properties

Private _uniformGenerator

_uniformGenerator: RNG<Real>

Methods

next

  • Returns Sample<Real>