spire.random

mutable

package mutable

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BurtleCompanion[G <: BurtleRot32] extends GeneratorCompanion[G, Array[Int]]

  2. final class BurtleRot2 extends BurtleRot32

    Bit-mixing random number generator based on rotations from Bob Burtle.

    Bit-mixing random number generator based on rotations from Bob Burtle. Maintains 16 bytes of state information. Good speed and randomness (see Burtle3rot for better randomness). Algorithm from http://burtleburtle.net/bob/rand/

  3. final class BurtleRot3 extends BurtleRot32

    Bit-mixing random number generator based on rotations from Bob Burtle.

    Bit-mixing random number generator based on rotations from Bob Burtle. Maintains 16 bytes of state information. Decent speed and very good randomness (see Burtle2rot for better speed). Algorithm from http://burtleburtle.net/bob/rand/

  4. abstract class BurtleRot32 extends IntBasedGenerator

    Bit-mixing random number generator based on rotations from Bob Burtle.

    Bit-mixing random number generator based on rotations from Bob Burtle. Maintains 16 bytes of state information. Algorithm from http://burtleburtle.net/bob/rand/

  5. final class Cmwc5 extends LongBasedGenerator

  6. class CycledFile extends Generator

  7. class Device extends Generator

  8. abstract class Generator extends AnyRef

  9. trait GeneratorCompanion[G, S] extends AnyRef

  10. abstract class IntBasedGenerator extends Generator

  11. class Lcg32 extends IntBasedGenerator

  12. final class Lcg64 extends LongBasedGenerator

  13. abstract class LongBasedGenerator extends Generator

  14. class Marsaglia32a6 extends IntBasedGenerator

    Marsaglia "Weyl sequence" RNG with cycle length of 2192 - 232 from http://www.jstatsoft.org/v08/i14/paper.

    Marsaglia "Weyl sequence" RNG with cycle length of 2192 - 232 from http://www.jstatsoft.org/v08/i14/paper. Quite fast and quite random; requires 24 bytes of state.

  15. final class MersenneTwister32 extends IntBasedGenerator

    This is a 32-bit Scala implementation of MersenneTwister based on MT19937.

    This is a 32-bit Scala implementation of MersenneTwister based on MT19937.c.

    MersenneTwister is a fast, 623-dimensionally equidistributed pseudo random number generator with a 219937 - 1 long period.

    Reference: Makato Matsumoto and Takuji Nishimura: "Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3--30.

    See also

    Mersenne Twister @ Wikipedia

    Mersenne Twister Home Page

    MT19937.c

  16. final class MersenneTwister64 extends LongBasedGenerator

    This is a 64-bit Scala implementation of MersenneTwister based on MT19937-64.

    This is a 64-bit Scala implementation of MersenneTwister based on MT19937-64.c.

    MersenneTwister is a fast, 623-dimensionally equidistributed pseudo random number generator with a 219937 - 1 long period.

    Reference: Makato Matsumoto and Takuji Nishimura: "Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3--30.

    See also

    Mersenne Twister @ Wikipedia

    Mersenne Twister Home Page

    MT19937-64.c

  17. class SecureJava extends IntBasedGenerator

  18. final class SyncGenerator extends Generator

  19. class Well512 extends IntBasedGenerator

    Implements the WELL PRNG (Well Equidistributed Long-period Linear), developed by F.

    Implements the WELL PRNG (Well Equidistributed Long-period Linear), developed by F. Panneton, P. L'Ecuyer, and M. Matsumoto.

    This class uses WELL512a, which contains 512 bits of state.

Value Members

  1. object BurtleRot2 extends BurtleCompanion[BurtleRot2]

  2. object BurtleRot3 extends BurtleCompanion[BurtleRot3]

  3. object Cmwc5 extends GeneratorCompanion[Cmwc5, Array[Long]]

  4. object CycledFile

  5. object Device

  6. object Generator

  7. object GlobalRng extends LongBasedGenerator

  8. object Lcg32 extends GeneratorCompanion[Lcg32, Int]

  9. object Lcg64 extends GeneratorCompanion[Lcg64, Long]

  10. object Marsaglia32a6 extends GeneratorCompanion[Marsaglia32a6, Array[Int]]

  11. object MersenneTwister32 extends GeneratorCompanion[MersenneTwister32, (Array[Int], Int)]

  12. object MersenneTwister64 extends GeneratorCompanion[MersenneTwister64, (Array[Long], Int)]

  13. object SecureJava

  14. object SyncGenerator

  15. object Well512 extends GeneratorCompanion[Well512, Array[Int]]

Ungrouped