#include <Sacado_Random.hpp>
Public Member Functions | |
| Random (double a_, double b_) | |
| Constructor. | |
| Random (double a_, double b_, int s) | |
Constructor with seed value s. | |
| ~Random () | |
| Destructor. | |
| void | setSeed (int s) |
Set seed to s. | |
| double | number () |
| Get random number. | |
Protected Member Functions | |
| int | checkSeed (const std::string &func, int s) |
Protected Attributes | |
| double | a |
| Lower bound of interval. | |
| double | b |
| Upper bound of interval. | |
| double | seed |
| Random number seed | |
Definition at line 43 of file Sacado_Random.hpp.
| Sacado::Random::Random | ( | double | a_, | |
| double | b_ | |||
| ) |
| Sacado::Random::Random | ( | double | a_, | |
| double | b_, | |||
| int | s | |||
| ) |
| Sacado::Random::~Random | ( | ) |
| void Sacado::Random::setSeed | ( | int | s | ) |
| double Sacado::Random::number | ( | ) |
| int Sacado::Random::checkSeed | ( | const std::string & | func, | |
| int | s | |||
| ) | [protected] |
Definition at line 77 of file Sacado_Random.cpp.
double Sacado::Random::a [protected] |
double Sacado::Random::b [protected] |
double Sacado::Random::seed [protected] |
1.4.7