Table of Contents

Method Gaussian

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Gaussian(double)

Returns the next random number sampled from the Gaussian distribution.

The method transforms the state using the MWC algorithm and returns the next random number from the Gaussian distribution N(0,sigma) . That is, the mean value of the returned random numbers is zero and the standard deviation is the specified sigma.

public double Gaussian(double sigma)

Parameters

sigma double

standard deviation of the distribution.

Returns

double