Go to: Synopsis. Return value. Related. MEL examples.
gauss
[string] [float] float|vector
gauss is NOT undoable, NOT queryable, and NOT editable.
This command returns random numbers with one, two or three dimensional correlation in a Gaussian distribution. The float arguments to the command scale the output. The distribution is normalized. Multiple random number streams:float | When called with a single float argument vector Otherwise |
gauss 1; // Result: -0.771573 // gauss 4.2; // Result: 0.540686 // gauss <<1,2>>; // Result: <<0.0071681, 0.304371, 0>> // string $s1 = "stream1"; // Result: stream1 // gauss $s1 1; // Result: -0.771573 // gauss $s1 4.2; // Result: 0.540686 // gauss $s1 <<1,2>>; // Result: <<0.0071681, 0.304371, 0>> //