Class RandomNumberGenerator

Class Documentation

class RandomNumberGenerator

Random number generator based on threefry.

Public Functions

RandomNumberGenerator()

Default constructor. Seeds the generator with a zero.

RandomNumberGenerator(int seed)

Constructor where a seed is supplied.

double Rand()

Generates a random number with the default distribution.