Constructors
constructor
- new Xorshift(seed): Xorshift
Parameters
- seed: number | [number, number, number, number]
Methods
initState
- initState(seed): void
Returns void
nextInt
- nextInt(min, sup): number
Returns number
random
- random(): number
Returns number
randomInt
- randomInt(): [number, number]
Returns [number, number]