The Complete SPRLIB & ANNLIB

random_dbl_exp

- determine a random number using the double exponential function

SYNOPSIS

double random_dbl_exp (a, b)

ARGUMENTS

double a The mean of the exponential function.
double b The width of the exponential function.

RETURNS

The function returns a random number using the double exponential function.

FUNCTION

The function calculates a random number from the exponential function given a mean a and a width b.

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998