JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Random Namespace Reference

Random number generation. More...


void seed (int i)
double uniform (double start=0.0, double end=1.0)
 uniform random numbers between 0 and 1
double normal (double mean=0.0, double sigma=1.0, double cap=0.0)
 normal random numbers with mean, sigma and an optional cap if non-zero
complex normalComplex (double sigma=1.0)
 normal complex number with mean 0 and deviation sigma

Detailed Description

Random number generation.