8 #include "Ar1Process.h" 39 { randomPtr_ = &random; }
49 if (randomPtr_ == 0) {
50 UTIL_THROW(
"Random number generator not yet set");
54 B_ = sqrt(1.0 - C_*C_);
56 isInitialized_ =
true;
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
Utility classes for scientific computation.
double gaussian(void)
Return a Gaussian random number with zero average and unit variance.
void setRNG(Random &random)
Associate a random number generator.
void init(double tau)
Initialize process.