In file No file:

double nrand_filter_r (randBlock *rb, double m, double s)

Normal random number generator with band-limit

Documentation

Normal random number generator with band-limit. This function filters the random numbers with a band-pass filter. A negative s 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 gaussian deviate of mean m and variance s^2.
Parameters:
rb - pointer to random block
m - mean of normal distribution
s - standrad deviation of normal distribution
Author:
MRP, Apr. 1998
See Also:
urand_r

alphabetic index hierarchy of classes


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


generated by doc++