randnormal Tcl Command

NAME

randnormal - normally distributed random numbers

SYNOPSIS

::dmh::randnormal ?mean sigma?

DESCRIPTION

This command returns a random number from a normal (Gaussian) distribution with mean mean and standard deviation sigma. The latter arguments default to 0, and 1, if not specified.

The command sets and uses the ::dmh namespace variable random_seed. If you wish, you may initialize this value so that the generated sequence is not the same from program run to program run.

AUTHOR

Ed Hume, Hume Integration Software

SEE ALSO

rand

KEYWORDS

random numbers, normal distribution, statistics