ofDocsdocumentation glm gtcrandom (functions)

gtcrandom (functions)


glm::gaussRand( ... )

genType glm::gaussRand(genType Mean, genType Deviation)

Generate random numbers in the interval [Min, Max], according a gaussian distribution

Parameters:

Mean

Deviation

See also: gtc_random


glm::linearRand( ... )

genTYpe glm::linearRand(genTYpe Min, genTYpe Max)

Generate random numbers in the interval [Min, Max], according a linear distribution

Parameters:

Min

Max

Type parameters:

genType Value type. Currently supported: float or double scalars.

See also: gtc_random