Options
All
  • Public
  • Public/Protected
  • All
Menu

Random sequence generator based on a pseudo-random number generator

Random sequence generator based on a pseudo-random number generator RNG.

Class RNG must implement the following interface:

 RNG::sample_type RNG::next() const;

If a client of this class wants to use the nextInt32Sequence method, class RNG must also implement

 unsigned long RNG::nextInt32() const;

warning do not use with low-discrepancy sequence generator.

Hierarchy

  • RandomSequenceGenerator

Implements

Index

Type aliases

Static sample_type

sample_type: Sample<Real[]>

Constructors

constructor

Properties

Private _dimensionality

_dimensionality: Size

Private _int32Sequence

_int32Sequence: BigNatural[]

Private _rng

_rng: RNG<Real>

Private _sequence

_sequence: sample_type

Methods

dimension

  • Returns Size

init

init1

init2

lastSequence

nextInt32Sequence

  • Returns BigNatural[]

nextSequence