NlpTools API
Interface

NlpTools\Random\Generators\GeneratorInterface

interface GeneratorInterface

An interface for pseudo-random number generators.

Methods

float generate()

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

Details

at line 18
public float generate()

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

Return Value

float The "random" number