GINO Graphics Suite - GINO v9.0  

gGetRand

Syntax

[C/C++:]
void gGetRand(float *rand);
[F90:]
subroutine gGetRand(rand)
real, intent(out) :: rand

Arguments

rand
Returned random number in range 0.0 to 1.0

Description

The system utility gGetRand() can be used to return a non repeating sequence of random numbers in the range 0.0 to 1.0.

If an application requires a set sequence of random numbers, a seed may be set using the routine gSetRandSeed(). By default a date/time seed is set at GINO initialization ensuring a different set of random numbers on each run, if gSetRandSeed() is not called.

See Also

gGetRand Usage
gSetRandSeed