My Project
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Static Public Member Functions | Static Public Attributes | Properties | List of all members
UniExtensions.Rnd Class Reference

Static Public Member Functions

static float Triangular (float low=0f, float high=1f, float?mode=null)
 Triangular distribution. Continuous distribution bounded by given lower and upper limits, and having a given mode value in-between. http://en.wikipedia.org/wiki/Triangular_distribution More...
 
static float Gauss (float mu, float sigma)
 mu is the mean, and sigma is the standard deviation. More...
 
static float Range (float min, float max)
 
static int Range (int min, int max)
 

Static Public Attributes

static System.Random rnd = new System.Random ()
 

Properties

static float Value [get]
 

Member Function Documentation

static float UniExtensions.Rnd.Gauss ( float  mu,
float  sigma 
)
inlinestatic

mu is the mean, and sigma is the standard deviation.

static float UniExtensions.Rnd.Range ( float  min,
float  max 
)
inlinestatic
static int UniExtensions.Rnd.Range ( int  min,
int  max 
)
inlinestatic
static float UniExtensions.Rnd.Triangular ( float  low = 0f,
float  high = 1f,
float?  mode = null 
)
inlinestatic

Triangular distribution. Continuous distribution bounded by given lower and upper limits, and having a given mode value in-between. http://en.wikipedia.org/wiki/Triangular_distribution

Member Data Documentation

System.Random UniExtensions.Rnd.rnd = new System.Random ()
static

Property Documentation

float UniExtensions.Rnd.Value
staticget

The documentation for this class was generated from the following file: