Loading...
Searching...
No Matches
ITHACAmuq::muq2ithaca Namespace Reference

Functions

Eigen::MatrixXd EnsembleKalmanFilter (Eigen::MatrixXd prior, Eigen::VectorXd measurements, Eigen::MatrixXd measurementsCov, Eigen::MatrixXd observedState)
 Ensemble Kalman Filter.
 
Eigen::MatrixXd EnsembleKalmanFilter (PtrList< volScalarField > &prior, Eigen::VectorXd measurements, Eigen::MatrixXd measurementsCov, Eigen::MatrixXd observedState)
 Ensemble Kalman Filter.
 
double quantile (Eigen::VectorXd samps, double p, int method=1)
 Returns quantile for a vector of samples.
 
Eigen::VectorXd quantile (Eigen::MatrixXd samps, double p, int method=1)
 Returns quantile for a matrix of samples.
 

Function Documentation

◆ EnsembleKalmanFilter() [1/2]

Eigen::MatrixXd ITHACAmuq::muq2ithaca::EnsembleKalmanFilter ( Eigen::MatrixXd prior,
Eigen::VectorXd measurements,
Eigen::MatrixXd measurementsCov,
Eigen::MatrixXd observedState )

Ensemble Kalman Filter.

Parameters
[in]priorSamples of the prior
[in]measurementsMeasured data
[in]measurementsCovCovariance matrix for the measurements, gaussian noise with zero mean is assumed
[in]observedStateEnsemble of the observed state
Returns
Ensamble of the posterior

Definition at line 7 of file muq2ithaca.C.

◆ EnsembleKalmanFilter() [2/2]

Eigen::MatrixXd ITHACAmuq::muq2ithaca::EnsembleKalmanFilter ( PtrList< volScalarField > & prior,
Eigen::VectorXd measurements,
Eigen::MatrixXd measurementsCov,
Eigen::MatrixXd observedState )

Ensemble Kalman Filter.

Parameters
[in]priorSamples of the prior
[in]measurementsMeasured data
[in]measurementsCovCovariance matrix for the measurements, gaussian noise with zero mean is assumed
[in]observedStateEnsemble of the observed state
Returns
Ensamble of the posterior

Definition at line 70 of file muq2ithaca.C.

◆ quantile() [1/2]

Eigen::VectorXd ITHACAmuq::muq2ithaca::quantile ( Eigen::MatrixXd samps,
double p,
int method = 1 )

Returns quantile for a matrix of samples.

Parameters
[in]sampsSamples, each variable on a row
[in]pQuantile parameter
[in]methodMethod used to compute quantile according to Hyndman and Fan (1986)
Returns
Quantile

Definition at line 191 of file muq2ithaca.C.

◆ quantile() [2/2]

double ITHACAmuq::muq2ithaca::quantile ( Eigen::VectorXd samps,
double p,
int method = 1 )

Returns quantile for a vector of samples.

Parameters
[in]sampsSamples
[in]pQuantile parameter
[in]methodMethod used to compute quantile according to Hyndman and Fan (1986)
Returns
Quantile

Definition at line 134 of file muq2ithaca.C.