queso-0.53.0
|
A class for handling Inverse Gamma joint PDFs. More...
#include <InverseGammaJointPdf.h>
Public Member Functions | |
Constructor/Destructor methods | |
InverseGammaJointPdf (const char *prefix, const VectorSet< V, M > &domainSet, const V &alpha, const V &beta) | |
Constructor. More... | |
~InverseGammaJointPdf () | |
Destructor. More... | |
Math methods | |
double | actualValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const |
Actual value of the Gamma PDF. More... | |
double | lnValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const |
TODO: Logarithm of the value of the Gamma PDF. More... | |
double | computeLogOfNormalizationFactor (unsigned int numSamples, bool updateFactorInternally) const |
Computes the logarithm of the normalization factor. More... | |
Public Member Functions inherited from QUESO::BaseJointPdf< V, M > | |
BaseJointPdf (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseJointPdf () |
Destructor. More... | |
virtual void | setNormalizationStyle (unsigned int value) const |
Sets a value to be used in the normalization style (stored in the protected attribute m_normalizationStyle.) More... | |
void | setLogOfNormalizationFactor (double value) const |
Sets a logarithmic value to be used in the normalization factor (stored in the protected attribute m_normalizationStyle.) More... | |
Public Member Functions inherited from QUESO::BaseScalarFunction< V, M > | |
BaseScalarFunction (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseScalarFunction () |
Destructor. More... | |
const VectorSet< V, M > & | domainSet () const |
Access to the protected attribute m_domainSet: domain set of the scalar function. More... | |
Protected Attributes | |
V | m_alpha |
V | m_beta |
Protected Attributes inherited from QUESO::BaseJointPdf< V, M > | |
unsigned int | m_normalizationStyle |
double | m_logOfNormalizationFactor |
Protected Attributes inherited from QUESO::BaseScalarFunction< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_domainSet |
Domain set of the scalar function. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QUESO::BaseJointPdf< V, M > | |
double | commonComputeLogOfNormalizationFactor (unsigned int numSamples, bool updateFactorInternally) const |
Common method (to the derived classes) to compute the logarithm of the normalization factor. More... | |
A class for handling Inverse Gamma joint PDFs.
This class allows the mathematical definition of an Inverse Gamma Joint PDF.
Definition at line 52 of file InverseGammaJointPdf.h.
QUESO::InverseGammaJointPdf< V, M >::InverseGammaJointPdf | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet, | ||
const V & | alpha, | ||
const V & | beta | ||
) |
Constructor.
Constructs a new object of the class, given a prefix, the domain set, and the parameters alpha
and beta
of the Inverse Gamma PDF.
Definition at line 33 of file InverseGammaJointPdf.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseScalarFunction< V, M >::m_env, QUESO::BaseScalarFunction< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
QUESO::InverseGammaJointPdf< V, M >::~InverseGammaJointPdf | ( | ) |
|
virtual |
Actual value of the Gamma PDF.
This routine calls method lnValue() and returns the exponent of the returning value of such method.
Implements QUESO::BaseJointPdf< V, M >.
Definition at line 63 of file InverseGammaJointPdf.C.
References queso_require_equal_to_msg, and queso_require_msg.
|
virtual |
Computes the logarithm of the normalization factor.
This routine calls BaseJointPdf::commonComputeLogOfNormalizationFactor().
Implements QUESO::BaseJointPdf< V, M >.
Definition at line 104 of file InverseGammaJointPdf.C.
References QUESO::BaseJointPdf< V, M >::commonComputeLogOfNormalizationFactor().
|
virtual |
TODO: Logarithm of the value of the Gamma PDF.
Implements QUESO::BaseJointPdf< V, M >.
Definition at line 80 of file InverseGammaJointPdf.C.
References queso_require_msg.
|
protected |
Definition at line 89 of file InverseGammaJointPdf.h.
|
protected |
Definition at line 90 of file InverseGammaJointPdf.h.