|
UQTk: Uncertainty Quantification Toolkit 3.1.5
|
Tools related to Rosenblatt transformation. More...
#include <math.h>#include <iostream>#include <float.h>#include "Array1D.h"#include "Array2D.h"#include "tools.h"#include "arraytools.h"Functions | |
| void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi, Array1D< double > &sig) |
| Generates a new sample by inverse Rosenblatt defined by a given sample set (xi) and a 'uniform' sample from the unit hypercube. | |
| void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi, double bw) |
| This is a version of invRos() with the same bandwidth (bw) for all dimensions. | |
| void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi) |
| This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb. | |
| void | invRos (Array2D< double > &unif, Array2D< double > &xi, Array2D< double > &newXi) |
| This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb, and operating on set of uniform samples (rather than one at a time) | |
| void | get_opt_KDEbdwth (const Array2D< double > &data, Array1D< double > &bdwth) |
| Calculates 'rule of thumb' optimal KDE bandwidths for a multi-dimensional data. | |
| void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif, Array1D< double > &sig) |
| Given input samples (xi), generates uniform samples by Rosenblatt map whose PDF is defined by a given sample set (xi_data) | |
| void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif, double bw) |
| This is a version of Rosen() with the same bandwidth (bw) for all dimensions. | |
| void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif) |
| This is a version of Rosen() with an automatic bandwidth selection based on a rule of thumb. | |
Tools related to Rosenblatt transformation.
Calculates 'rule of thumb' optimal KDE bandwidths for a multi-dimensional data.
| [in] | data | : 2-dimensional array of size ![]() |
| [out] | bdwth | : 1-dimensional array of size ![]() |
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb.
| void invRos | ( | Array1D< double > & | unif, |
| Array2D< double > & | xi, | ||
| Array1D< double > & | newXi, | ||
| Array1D< double > & | sig ) |
Generates a new sample by inverse Rosenblatt defined by a given sample set (xi) and a 'uniform' sample from the unit hypercube.

![$u\in[0,1]^d$](form_63.png)
| [in] | unif | : 1-dimensional array of size ![]() ![]() |
| [in] | xi | : 2-dimensional array of size ![]() |
| [out] | newXi | : 1-dimensional array of size ![]() ![]() |
| [in] | sig | : 1-dimensional array of size ![]() |
| void invRos | ( | Array1D< double > & | unif, |
| Array2D< double > & | xi, | ||
| Array1D< double > & | newXi, | ||
| double | bw ) |
This is a version of invRos() with the same bandwidth (bw) for all dimensions.
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb, and operating on set of uniform samples (rather than one at a time)
| [in] | unif | : 2-dimensional array of size ![]() ![]() |
| [in] | xi | : 2-dimensional array of size ![]() |
| [out] | newXi | : 2-dimensional array of size ![]() ![]() |
This is a version of Rosen() with an automatic bandwidth selection based on a rule of thumb.
| void Rosen | ( | Array2D< double > & | xi, |
| Array2D< double > & | xi_data, | ||
| Array2D< double > & | unif, | ||
| Array1D< double > & | sig ) |
Given input samples (xi), generates uniform samples by Rosenblatt map whose PDF is defined by a given sample set (xi_data)


| [in] | xi | : 2-dimensional array of size ![]() ![]() |
| [in] | xi_data | : 2-dimensional array of size ![]() ![]() |
| [out] | unif | : 2-dimensional array of size ![]() ![]() ![]() ![]() |
| [in] | sig | : 1-dimensional array of size ![]() |