Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Xorshift

Hierarchy

  • Xorshift

Index

Constructors

constructor

  • Parameters

    • seed: number

    Returns Xorshift

Methods

initState

  • initState(seed: number): void
  • Parameters

    • seed: number

    Returns void

nextInt

  • nextInt(min: number, sup: number): number
  • Parameters

    • min: number
    • sup: number

    Returns number

random

  • random(): number
  • Returns number

randomInt

  • randomInt(): number[]
  • Returns number[]

serialize

Static deserialize

Generated using TypeDoc