expdist



NAME

     expdist - Pseudorandom  number  generator  with  exponential
     distribution.


SYNOPSIS

     double expdist()


DESCRIPTION

     Expdist is a random number generator returning the  exponen-
     tial  distribution  e^(-x).   Numbers  are  obtained through
     calls to GFSR.  Old states can be read using readGFSR(). New
     states can be preserved using writeGFSR(). For more informa-
     tion on preserving states, see gfsr(3).


FORTRAN COMPATIBILITY

     Expdist may also be called from Fortran, as  a  function  of
     type DOUBLE PRECISION (i.e., REAL*8).


SEE ALSO

     seqaln-intro(1), librandist(3), gfsr(3),  normdist(3),
  uni-
     dist(3).