RandomNumberGenerator.GaussianDistribution(Variable, Variable) Method

Top 

Description

Returns a random number with a Gaussian probability distribution defined by the specified mean and standard deviation.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

RandomNumberGenerator.GaussianDistribution(

Variable mean,


Variable standardDeviation)

 

 

Arguments

mean


Description:

The mean or expectation of the distribution.

 

 

standardDeviation


Description:

The standard deviation of the distribution.

 

 

 

Return Value

Type:

number

 

 

The number generated by the random number generator.

 

Syntax

myVariable1 = myRandomNumberGenerator1.GaussianDistribution(myVariable2, myVariable3);

 

 

See also

RandomNumberGenerator Object