|
CMP++: Uncertainty Quantification & Bayesian Calibration
|
Faure low-discrepancy sequence grid generator. More...
#include <grid.h>


Public Member Functions | |
| FaureGrid (const Eigen::Ref< const Eigen::VectorXd > &lowerBound, const Eigen::Ref< const Eigen::VectorXd > &upperBound, unsigned int seed=42) | |
| Constructs a FaureGrid generator. | |
| Eigen::MatrixXd | construct (const size_t &nPoints) override |
| Constructs a matrix of Faure points. | |
| Eigen::VectorXd | operator() () |
| Evaluates a single Faure sample. | |
| size_t | dim () const override |
| Returns the dimension of the domain. | |
Public Member Functions inherited from cmp::grid::Grid | |
| virtual | ~Grid ()=default |
Private Attributes | |
| boost::random::faure | gen_ |
| Faure sequence generator. | |
| std::default_random_engine | rng_ |
| Random engine for shuffling. | |
| size_t | dimension_ |
| Number of dimensions. | |
| Eigen::VectorXd | lowerBound_ |
| Lower bounds vector. | |
| Eigen::VectorXd | upperBound_ |
| Upper bounds vector. | |
Faure low-discrepancy sequence grid generator.
Mathematical Formulation Uses the Faure sequence (often used in prime base) to generate quasi-random samples with low discrepancy.
|
inline |
Constructs a FaureGrid generator.
| lowerBound | Lower bounds of the domain. |
| upperBound | Upper bounds of the domain. |
| seed | Seed for the random shuffle generator. |
|
inlineoverridevirtual |
Constructs a matrix of Faure points.
| nPoints | Number of points to generate. |
Implements cmp::grid::Grid.
|
inlineoverridevirtual |
Returns the dimension of the domain.
Implements cmp::grid::Grid.
|
inline |
Evaluates a single Faure sample.
|
private |
Number of dimensions.
|
private |
Faure sequence generator.
|
private |
Lower bounds vector.
|
private |
Random engine for shuffling.
|
private |
Upper bounds vector.