QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Faure low-discrepancy sequence generator. More...
#include <faurersg.hpp>
Public Types | |
typedef Sample< std::vector< Real > > | sample_type |
Public Member Functions | |
FaureRsg (Size dimensionality) | |
const std::vector< long int > & | nextIntSequence () const |
const std::vector< long int > & | lastIntSequence () const |
const sample_type & | nextSequence () const |
const sample_type & | lastSequence () const |
Size | dimension () const |
Private Member Functions | |
void | generateNextIntSequence () const |
Private Attributes | |
Size | dimensionality_ |
sample_type | sequence_ |
std::vector< long int > | integerSequence_ |
std::vector< long int > | bary_ |
std::vector< std::vector< long int > > | gray_ |
Size | base_ |
Size | mbit_ |
std::vector< std::vector< long int > > | powBase_ |
std::vector< long int > | addOne_ |
std::vector< std::vector< std::vector< long int > > > | pascal3D |
double | normalizationFactor_ |
Faure low-discrepancy sequence generator.
It is based on existing Fortran and C algorithms to calculate pascal matrix and gray transforms.
Algorithms 659, 647. http://www.netlib.org/toms/647, http://www.netlib.org/toms/659
Definition at line 46 of file faurersg.hpp.
typedef Sample<std::vector<Real> > sample_type |
Definition at line 48 of file faurersg.hpp.
const std::vector< long int > & nextIntSequence | ( | ) | const |
const std::vector< long int > & lastIntSequence | ( | ) | const |
Definition at line 54 of file faurersg.hpp.
const sample_type & nextSequence | ( | ) | const |
const sample_type & lastSequence | ( | ) | const |
Definition at line 63 of file faurersg.hpp.
Size dimension | ( | ) | const |
Definition at line 64 of file faurersg.hpp.
|
private |
|
private |
Definition at line 67 of file faurersg.hpp.
|
mutableprivate |
Definition at line 69 of file faurersg.hpp.
|
mutableprivate |
Definition at line 70 of file faurersg.hpp.
|
mutableprivate |
Definition at line 71 of file faurersg.hpp.
|
mutableprivate |
Definition at line 72 of file faurersg.hpp.
|
private |
Definition at line 73 of file faurersg.hpp.
|
private |
Definition at line 73 of file faurersg.hpp.
|
private |
Definition at line 74 of file faurersg.hpp.
|
private |
Definition at line 75 of file faurersg.hpp.
|
private |
Definition at line 76 of file faurersg.hpp.
|
private |
Definition at line 77 of file faurersg.hpp.