queso-0.57.1
|
A class for handling generic vector CDFs. More...
#include <GenericVectorCdf.h>
Public Member Functions | |
Constructor/Destructor methods | |
GenericVectorCdf (const char *prefix, const VectorSet< V, M > &pdfSupport, double(*routinePtr)(const V ¶mValues, const void *routineDataPtr, V &cdfVec), const void *routineDataPtr) | |
Constructor. More... | |
~GenericVectorCdf () | |
Destructor. More... | |
Mathematical method | |
void | values (const V ¶mValues, V &cdfVec) const |
TODO: Returns the values of the vector CDF at each element of paramValues , by calling m_routinePtr . More... | |
I/O method | |
void | print (std::ostream &os) const |
TODO: Prints the vector CDF. More... | |
Public Member Functions inherited from QUESO::BaseVectorCdf< V, M > | |
BaseVectorCdf (const char *prefix, const VectorSet< V, M > &pdfSupport) | |
Default constructor. More... | |
virtual | ~BaseVectorCdf () |
Virtual destructor. More... | |
const VectorSet< V, M > & | pdfSupport () const |
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport . More... | |
virtual const BaseScalarCdf < double > & | cdf (unsigned int rowId) const =0 |
virtual void | subWriteContents (const std::string &varNamePrefix, const std::string &fileName, const std::string &fileType, const std::set< unsigned int > &allowedSubEnvIds) const |
Writes the CDF of an allowed sub-environment to a file. More... | |
Protected Attributes | |
double(* | m_routinePtr )(const V ¶mValues, const void *routineDataPtr, V &cdfVec) |
const void * | m_routineDataPtr |
Protected Attributes inherited from QUESO::BaseVectorCdf< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_pdfSupport |
A class for handling generic vector CDFs.
This class will implement a generic vector cumulative distribution function (CDF).
Definition at line 50 of file GenericVectorCdf.h.
QUESO::GenericVectorCdf< V, M >::GenericVectorCdf | ( | const char * | prefix, |
const VectorSet< V, M > & | pdfSupport, | ||
double(*)(const V ¶mValues, const void *routineDataPtr, V &cdfVec) | routinePtr, | ||
const void * | routineDataPtr | ||
) |
Constructor.
Instantiates an object of the class given a prefix, the support of the related-PDF, and a routine that calculates data (like a math function).
Definition at line 31 of file GenericVectorCdf.C.
QUESO::GenericVectorCdf< V, M >::~GenericVectorCdf | ( | ) |
|
virtual |
TODO: Prints the vector CDF.
Implements QUESO::BaseVectorCdf< V, M >.
Definition at line 60 of file GenericVectorCdf.C.
|
virtual |
TODO: Returns the values of the vector CDF at each element of paramValues
, by calling m_routinePtr
.
Implements QUESO::BaseVectorCdf< V, M >.
Definition at line 50 of file GenericVectorCdf.C.
|
protected |
Definition at line 80 of file GenericVectorCdf.h.
|
protected |
Definition at line 79 of file GenericVectorCdf.h.