Options
All
  • Public
  • Public/Protected
  • All
Menu

Uniform random number generator

Random number generator of L'Ecuyer with added Bays-Durham shuffle (know as ran2 in Numerical recipes)

For more details see Section 7.1 of Numerical Recipes in C, 2nd Edition, Cambridge University Press (available at http://www.nr.com/)

Hierarchy

  • LecuyerUniformRng

Implements

Index

Properties

Methods

Properties

Private _buffer

_buffer: Integer[]

Private _temp1

_temp1: Integer

Private _temp2

_temp2: Integer

Private _y

Methods

init1

next

  • Returns Sample<Real>