This is a subclass of Random that generates numbers according to a Gaussian distribution with a specified mean and standard deviation.
More...
|
GaussianImpl & | getImpl () |
|
const GaussianImpl & | getConstImpl () const |
|
Protected Member Functions inherited from SimTK::Random |
| Random () |
| This constructor should never be invoked directly. More...
|
|
RandomImpl & | getImpl () |
| Get the internal object which implements the random number generator. More...
|
|
const RandomImpl & | getConstImpl () const |
| Get a constant reference to the internal object which implements the random number generator. More...
|
|
This is a subclass of Random that generates numbers according to a Gaussian distribution with a specified mean and standard deviation.
Create a new random number generator that produces values according to a Gaussian distribution with mean 0 and standard deviation 1.
Create a new random number generator that produces values according to a Gaussian distribution with the specified mean and standard deviation.
Real SimTK::Random::Gaussian::getMean |
( |
| ) |
const |
Get the mean of the Gaussian distribution.
void SimTK::Random::Gaussian::setMean |
( |
Real |
mean | ) |
|
Set the mean of the Gaussian distribution.
Real SimTK::Random::Gaussian::getStdDev |
( |
| ) |
const |
Get the standard deviation of the Gaussian distribution.
void SimTK::Random::Gaussian::setStdDev |
( |
Real |
stddev | ) |
|
Set the standard deviation of the Gaussian distribution.
GaussianImpl& SimTK::Random::Gaussian::getImpl |
( |
| ) |
|
|
protected |
const GaussianImpl& SimTK::Random::Gaussian::getConstImpl |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following file: