NlpTools API
Class

NlpTools\Random\Generators\MersenneTwister

class MersenneTwister implements GeneratorInterface

A simple wrapper over the built in mt_rand() method

Methods

float generate()

Generates a pseudo-random number with uniform distribution in the interval [0,1)

static  get()

Details

at line 10
public float generate()

Generates a pseudo-random number with uniform distribution in the interval [0,1)

Return Value

float The "random" number

at line 16
static public get()