Packagefrocessing.math
Classpublic class MTRandom
InheritanceMTRandom Inheritance Object

Mersenne Twister



Public Methods
 MethodDefined By
  
MTRandom
  
random():Number
MTRandom
  
randomSeed(seed:uint):void
MTRandom
  
randomSeedArray(init_key:Array):void
MTRandom
Constructor Detail
MTRandom()Constructor
public function MTRandom()



Method Detail
random()method
public function random():Number

Returns
Number — [0,1)
randomSeed()method 
public function randomSeed(seed:uint):void

Parameters

seed:uint

randomSeedArray()method 
public function randomSeedArray(init_key:Array):void

Parameters

init_key:Array