Library of Assembled Shared Sources
lass::num::RandomRadicalInverse Class Reference

Halton sequence. More...

#include <random.h>

Public Types

using result_type = double
 type of return value.
 
typedef double TValue
 type of return value.
 

Static Public Member Functions

static constexpr result_type min ()
 minimum return value.
 
static constexpr result_type max ()
 maximum return value.
 

Detailed Description

Halton sequence.

Determinstic quasi-random number sequence of low-discrepancy, using the radical inverse of an increasing index in a given base.

Warning
this gives a very predictable and unrandom sequence! But, it's very good for usage with Monte Carlo integration. Very usefull to build multi-dimensional Halton sequences.

Definition at line 250 of file random.h.

Member Typedef Documentation

◆ TValue

type of return value.

Deprecated

Definition at line 254 of file random.h.


The documentation for this class was generated from the following files: