RandomGaussianExtension extension

Gaussian (normal) sampling on Random, used by population-based trainers (Evolution Strategies, CMA-ES, Differential Evolution, Simulated Annealing).

on

Methods

nextGaussian({double mean = 0.0, double standardDeviation = 1.0}) double

Available on Random, provided by the RandomGaussianExtension extension

Returns a sample from a normal distribution with the given mean and standardDeviation (defaults to the standard normal N(0,1)).