1 #ifndef SimTK_SimTKCOMMON_RANDOM_H_ 2 #define SimTK_SimTKCOMMON_RANDOM_H_ 63 void setSeed(
int seed);
67 Real getValue()
const;
71 void fillArray(
Real array[],
int length)
const;
81 RandomImpl& getImpl();
85 const RandomImpl& getConstImpl()
const;
118 void setMin(
Real min);
126 void setMax(
Real max);
128 UniformImpl& getImpl();
129 const UniformImpl& getConstImpl()
const;
155 Real getMean()
const;
159 void setMean(
Real mean);
163 Real getStdDev()
const;
167 void setStdDev(
Real stddev);
169 GaussianImpl& getImpl();
170 const GaussianImpl& getConstImpl()
const;
179 #endif // SimTK_SimTKCOMMON_RANDOM_H_ RandomImpl * impl
Definition: Random.h:73
#define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:218
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
ELEM min(const VectorBase< ELEM > &v)
Definition: VectorMath.h:178
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:593
ELEM mean(const VectorBase< ELEM > &v)
Definition: VectorMath.h:324
╨╧ рб▒ с ■ ╖ ╣ ■ │ ┤ ╡ ╢ ье┴ А ° ┐ ч bjbjcTcT ┌┘ │ ├ ╗ t ╖ Я ┴ K K K D П П П А Л2 Ф П Z╞ j J a n u a r A b s t r a c t W e d e s c r i b e t h e g o a l s a n d d e s i g n d e c i s i o n b e h i n d S i m m a t r i t h e S i m T K m a t r i x a n d l i n e a r a l g e b r a l i b r a r a n d p r o v i d e r e f e r e n c e i n f o r m a t i o n f o r u s i n g i t T h e i d e a i s t o p r o v i d e t h e p o w e r
Definition: Simmatrix.doc:7
ELEM max(const VectorBase< ELEM > &v)
Definition: VectorMath.h:251
This class defines the interface for pseudo-random number generators.
Definition: Random.h:54
This is a subclass of Random that generates numbers according to a Gaussian distribution with a speci...
Definition: Random.h:141
Includes internal headers providing declarations for the basic SimTK Core classes.