HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ImathRandom.h File Reference
#include "ImathNamespace.h"
#include "ImathExport.h"
#include <stdlib.h>
#include <math.h>
+ Include dependency graph for ImathRandom.h:

Go to the source code of this file.

Classes

class  Rand32
 
class  Rand48
 

Functions

template<class Vec , class Rand >
Vec solidSphereRand (Rand &rand)
 
template<class Vec , class Rand >
Vec hollowSphereRand (Rand &rand)
 
template<class Rand >
float gaussRand (Rand &rand)
 
template<class Vec , class Rand >
Vec gaussSphereRand (Rand &rand)
 
IMATH_EXPORT double erand48 (unsigned short state[3])
 
IMATH_EXPORT double drand48 ()
 
IMATH_EXPORT long int nrand48 (unsigned short state[3])
 
IMATH_EXPORT long int lrand48 ()
 
IMATH_EXPORT void srand48 (long int seed)
 

Function Documentation

IMATH_EXPORT double drand48 ( )
IMATH_EXPORT double erand48 ( unsigned short  state[3])
template<class Rand >
float gaussRand ( Rand &  rand)

Definition at line 374 of file ImathRandom.h.

template<class Vec , class Rand >
Vec gaussSphereRand ( Rand &  rand)

Definition at line 394 of file ImathRandom.h.

template<class Vec , class Rand >
Vec hollowSphereRand ( Rand &  rand)

Definition at line 354 of file ImathRandom.h.

IMATH_EXPORT long int lrand48 ( )
IMATH_EXPORT long int nrand48 ( unsigned short  state[3])
template<class Vec , class Rand >
Vec solidSphereRand ( Rand &  rand)

Definition at line 337 of file ImathRandom.h.

IMATH_EXPORT void srand48 ( long int  seed)