KPG1_RNORM

Returns a set of random samples from a normal distribution

Description:

This routine returns a set of random samples from a normal distribution with mean=0.0 and standard deviation=1.0. It uses the default GSL random number generator type.

Invocation

CALL KPG1_RNORM( EL, ARRAY, SEED, STATUS )

Arguments

EL = INTEGER (Given)
The number of samples to return.
ARRAY(EL) = DOUBLE PRECISION (Returned)
The array in which to return the values.
SEED = INTEGER (Given)
The seed to use. If zero or negative, the value of environment variable STAR_SEED is used if set, and a non-repeatable value is used if STAR_SEED is not set.
STATUS = INTEGER (Given and Returned)
The global status.