In file No file:

double urand_filter_r (randBlock *rb, double lo, double hi)

Uniform random number generator with band-limit

Documentation

Uniform random number generator with band-limit. This function filters the random numbers with a band-pass filter. A combination of hi < lo will reset the filter coefficients (no value is returned). The frequencies are specifed as fractions of the sampling rate (assuming this function is called for every new sample point). Negative frequency values or values bigger than one will be ignored in the filter calculation (meaning the corresponding filter will not be applied).

Returns:
A uniformly distributed random number in (lo, hi).
Parameters:
rb - pointer to random block
lo - low value of uniform distribution
hi - high value of uniform distribution
Author:
MRP, Apr. 1998

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++