#include <utilities.h>
Static Public Member Functions | |
static void | initSeed () |
static T | uniform (float min=-1, float max=1) |
static void | uniform (typename DEVector< T >::Type &vec, float min=-1, float max=1) |
static void aureservoir::Rand< T >::initSeed | ( | ) | [inline, static] |
inits the random seed
static T aureservoir::Rand< T >::uniform | ( | float | min = -1 , |
|
float | max = 1 | |||
) | [inline, static] |
generates a pseudo random number from a uniform distribution
min | minimum value | |
max | maximum value |
static void aureservoir::Rand< T >::uniform | ( | typename DEVector< T >::Type & | vec, | |
float | min = -1 , |
|||
float | max = 1 | |||
) | [inline, static] |
generates a pseudo random number vector from a uniform distribution
vec | fills this vector with rand values between [min|max) | |
min | minimum value | |
max | maximum value |