1 #ifndef SimTK_SimTKCOMMON_RANDOM_H_ 
    2 #define SimTK_SimTKCOMMON_RANDOM_H_ 
#define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:224
 
Includes internal headers providing declarations for the basic SimTK Core classes.
 
This is a subclass of Random that generates numbers according to a Gaussian distribution with a speci...
Definition: Random.h:141
 
void setStdDev(Real stddev)
Set the standard deviation of the Gaussian distribution.
 
void setMean(Real mean)
Set the mean of the Gaussian distribution.
 
const GaussianImpl & getConstImpl() const
 
Real getMean() const
Get the mean of the Gaussian distribution.
 
Real getStdDev() const
Get the standard deviation of the Gaussian distribution.
 
Gaussian()
Create a new random number generator that produces values according to a Gaussian distribution with m...
 
Gaussian(Real mean, Real stddev)
Create a new random number generator that produces values according to a Gaussian distribution with t...
 
This class defines the interface for pseudo-random number generators.
Definition: Random.h:54
 
Real getValue() const
Get the next value in the pseudo-random sequence.
 
Random()
This constructor should never be invoked directly.
 
RandomImpl & getImpl()
Get the internal object which implements the random number generator.
 
void setSeed(int seed)
Reinitialize this random number generator with a new seed value.
 
const RandomImpl & getConstImpl() const
Get a constant reference to the internal object which implements the random number generator.
 
RandomImpl * impl
Definition: Random.h:73
 
void fillArray(Real array[], int length) const
Fill an array with values from the pseudo-random sequence.
 
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
 
ELEM max(const VectorBase< ELEM > &v)
Definition: VectorMath.h:251
 
ELEM min(const VectorBase< ELEM > &v)
Definition: VectorMath.h:178
 
ELEM mean(const VectorBase< ELEM > &v)
Definition: VectorMath.h:324
 
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:607