24#ifndef quantlib_random_sequence_generator_h
25#define quantlib_random_sequence_generator_h
59 "dimensionality must be greater than 0");
71 typename RNG::sample_type x(
rng_.next());
Random sequence generator based on a pseudo-random number generator.
const sample_type & nextSequence() const
RandomSequenceGenerator(Size dimensionality, const RNG &rng)
const sample_type & lastSequence() const
std::vector< BigNatural > nextInt32Sequence() const
std::vector< BigNatural > int32Sequence_
Sample< std::vector< Real > > sample_type
RandomSequenceGenerator(Size dimensionality, BigNatural seed=0)
Classes and functions for error handling.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
std::size_t Size
size of a container
unsigned QL_BIG_INTEGER BigNatural
large positive integer