BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kgen_rayleigh - generate a vector of Rayleigh random numbers.

LIBRARY CALL

int kgen_rayleigh(
   int    num,
   double variance,
   double *vect)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, otherwise it returns FALSE (0) if it is unable to allocate sufficient memory or the internal call to kgen_gauss fails.

DESCRIPTION

kgen_rayleigh() generates a one dimensional Rayleigh random noise data set.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

Converted from grleigh in Khoros 1.0 (JW)

FILES

$BOOTSTRAP/objects/library/klibm/src/noise.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.