RandBasis

object RandBasis
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Returns a new MersenneTwister-backed rand basis with seed set to 0. Note that if multiple threads use this, each thread gets a new generator with an increasing random seed.

Returns a new MersenneTwister-backed rand basis with seed set to 0. Note that if multiple threads use this, each thread gets a new generator with an increasing random seed.

def withSeed(seed: Int): RandBasis

Returns a new MersenneTwister-backed rand basis with seed set to a specific value if multiple threads use this, each thread gets a new generator with an increasing random (starting from seed)

Returns a new MersenneTwister-backed rand basis with seed set to a specific value if multiple threads use this, each thread gets a new generator with an increasing random (starting from seed)