Go to the documentation of this file.
12 #ifndef __ICERANDOM_H__
13 #define __ICERANDOM_H__
41 #endif // __ICERANDOM_H__
inline_ BasicRandom(udword seed=0)
Constructor.
unsigned int udword
sizeof(udword) must be 4
#define ONE_OVER_RAND_MAX
Inverse of the max possible value returned by rand()
FUNCTION ICECORE_API void SRand(udword seed)
inline_ void SetSeed(udword seed)
inline_ udword Randomize()
FUNCTION ICECORE_API udword Rand()
ICECORE_API udword GetRandomIndex(udword max_index)
Returns a random index so that 0<= index < max_index.
inline_ udword GetCurrentValue() const
inline_ float UnitRandomFloat()
Returns a unit random floating-point value.
inline_ ~BasicRandom()
Destructor.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:03