TF++, Miscellaneous classes and modules in C++:

◆ report()

void report ( const tfxx::numeric::RNGgaussian rng)

Definition at line 41 of file rngtest.cc.

References tfxx::numeric::RNGgaussian::mean(), tfxx::numeric::RNGgaussian::seed(), tfxx::numeric::RNGgaussian::std(), and tfxx::numeric::RNGgaussian::type().

Referenced by main().

42 {
43  cout << "RNG parameters:\n"
44  << " type: " << rng.type() << "\n"
45  << " seed: " << rng.seed() << "\n"
46  << " mean: " << rng.mean() << "\n"
47  << " std: " << rng.std() << endl;
48 } // void report(const tfxx::numeric::RNGgaussian& rng)
double mean() const
return mean
Definition: rng.h:100
unsigned long int seed() const
return last seed value
Definition: rng.h:96
std::string type() const
return type of random number generator
Definition: rng.h:94
double std() const
return standard deviation
Definition: rng.h:98
Here is the call graph for this function:
Here is the caller graph for this function: