queso-0.53.0
|
A templated (base) class for handling scalar functions. More...
#include <ScalarFunction.h>
Public Member Functions | |
Constructor/Destructor methods. | |
BaseScalarFunction (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseScalarFunction () |
Destructor. More... | |
Mathematical methods. | |
const VectorSet< V, M > & | domainSet () const |
Access to the protected attribute m_domainSet: domain set of the scalar function. More... | |
virtual double | actualValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const =0 |
Actual value of the scalar function. More... | |
virtual double | lnValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const =0 |
Logarithm of the value of the scalar function. More... | |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_domainSet |
Domain set of the scalar function. More... | |
A templated (base) class for handling scalar functions.
This class allows the mathematical definition of a scalar function such as: . A function of one or more variables has always one-dimensional range. PDFs (marginal, joint) and CDFs are examples of scalar functions.
Definition at line 51 of file ScalarFunction.h.
QUESO::BaseScalarFunction< V, M >::BaseScalarFunction | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet | ||
) |
Default constructor.
Instantiates an object of the class, i.e. a scalar function, given a prefix and its domain.
Definition at line 34 of file ScalarFunction.C.
|
virtual |
|
pure virtual |
Actual value of the scalar function.
Implemented in QUESO::InvLogitGaussianJointPdf< V, M >, QUESO::ConcatenatedJointPdf< V, M >, QUESO::GaussianJointPdf< V, M >, QUESO::GaussianLikelihoodBlockDiagonalCovariance< V, M >, QUESO::LogNormalJointPdf< V, M >, QUESO::GPMSAEmulator< V, M >, QUESO::BayesianJointPdf< V, M >, QUESO::PoweredJointPdf< V, M >, QUESO::GammaJointPdf< V, M >, QUESO::InverseGammaJointPdf< V, M >, QUESO::BaseJointPdf< V, M >, QUESO::GaussianLikelihoodBlockDiagonalCovarianceRandomCoefficients< V, M >, QUESO::GenericJointPdf< V, M >, QUESO::BetaJointPdf< V, M >, QUESO::WignerJointPdf< V, M >, QUESO::JeffreysJointPdf< V, M >, QUESO::GaussianLikelihoodFullCovariance< V, M >, QUESO::GaussianLikelihoodFullCovarianceRandomCoefficient< V, M >, QUESO::UniformJointPdf< V, M >, QUESO::GenericScalarFunction< V, M >, QUESO::GaussianLikelihoodDiagonalCovariance< V, M >, QUESO::GaussianLikelihoodScalarCovariance< V, M >, and QUESO::ConstantScalarFunction< V, M >.
const VectorSet< V, M > & QUESO::BaseScalarFunction< V, M >::domainSet | ( | ) | const |
Access to the protected attribute m_domainSet:
domain set of the scalar function.
Definition at line 50 of file ScalarFunction.C.
Referenced by QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
|
pure virtual |
Logarithm of the value of the scalar function.
Implemented in QUESO::InvLogitGaussianJointPdf< V, M >, QUESO::GaussianJointPdf< V, M >, QUESO::ConcatenatedJointPdf< V, M >, QUESO::GaussianLikelihoodBlockDiagonalCovarianceRandomCoefficients< V, M >, QUESO::BayesianJointPdf< V, M >, QUESO::GammaJointPdf< V, M >, QUESO::LogNormalJointPdf< V, M >, QUESO::GaussianLikelihoodBlockDiagonalCovariance< V, M >, QUESO::PoweredJointPdf< V, M >, QUESO::BetaJointPdf< V, M >, QUESO::InverseGammaJointPdf< V, M >, QUESO::JeffreysJointPdf< V, M >, QUESO::BaseJointPdf< V, M >, QUESO::WignerJointPdf< V, M >, QUESO::GenericJointPdf< V, M >, QUESO::UniformJointPdf< V, M >, QUESO::GaussianLikelihoodFullCovariance< V, M >, QUESO::GaussianLikelihoodFullCovarianceRandomCoefficient< V, M >, QUESO::GenericScalarFunction< V, M >, QUESO::GPMSAEmulator< V, M >, QUESO::GaussianLikelihoodDiagonalCovariance< V, M >, QUESO::GaussianLikelihoodScalarCovariance< V, M >, and QUESO::ConstantScalarFunction< V, M >.
|
protected |
Domain set of the scalar function.
Definition at line 84 of file ScalarFunction.h.
|
protected |
Definition at line 80 of file ScalarFunction.h.
Referenced by QUESO::BaseJointPdf< V, M >::BaseJointPdf(), QUESO::BetaJointPdf< V, M >::BetaJointPdf(), QUESO::GammaJointPdf< V, M >::GammaJointPdf(), QUESO::GaussianJointPdf< V, M >::GaussianJointPdf(), QUESO::InverseGammaJointPdf< V, M >::InverseGammaJointPdf(), QUESO::JeffreysJointPdf< V, M >::JeffreysJointPdf(), QUESO::LogNormalJointPdf< V, M >::LogNormalJointPdf(), QUESO::PoweredJointPdf< V, M >::PoweredJointPdf(), QUESO::UniformJointPdf< V, M >::UniformJointPdf(), and QUESO::WignerJointPdf< V, M >::WignerJointPdf().
|
protected |
Definition at line 81 of file ScalarFunction.h.
Referenced by QUESO::BaseJointPdf< V, M >::BaseJointPdf(), QUESO::BetaJointPdf< V, M >::BetaJointPdf(), QUESO::GammaJointPdf< V, M >::GammaJointPdf(), QUESO::GaussianJointPdf< V, M >::GaussianJointPdf(), QUESO::InverseGammaJointPdf< V, M >::InverseGammaJointPdf(), QUESO::JeffreysJointPdf< V, M >::JeffreysJointPdf(), QUESO::LogNormalJointPdf< V, M >::LogNormalJointPdf(), QUESO::PoweredJointPdf< V, M >::PoweredJointPdf(), QUESO::UniformJointPdf< V, M >::UniformJointPdf(), and QUESO::WignerJointPdf< V, M >::WignerJointPdf().