25 #include <queso/GammaVectorRV.h>
26 #include <queso/GammaVectorRealizer.h>
27 #include <queso/GammaJointPdf.h>
28 #include <queso/GslVector.h>
29 #include <queso/GslMatrix.h>
35 template<
class V,
class M>
42 BaseVectorRV<V,M>(((std::string)(prefix)+
"uni").c_str(),imageSet)
55 double smallerOfMaxValues = imageBox->
maxValues().getMinValue();
56 double smallerOfMinValues = imageBox->
minValues().getMinValue();
59 if( smallerOfMinValues < 0 )
61 std::cerr <<
"In GammaVectorRV<V,M>::constructor()\n"
62 <<
"Gamma distribution is only defined in (0, infinity).\n"
63 <<
"The data provided is: \n"
65 <<
"Sampling will not cover all interval.\n"
92 template<
class V,
class M>
102 template <
class V,
class M>
106 os <<
"GammaVectorRV<V,M>::print() says, 'Please implement me.'" << std::endl;
unsigned int displayVerbosity() const
A templated class for handling sets.
const VectorSet< V, M > & m_imageSet
A class representing a vector RV constructed via Gamma distribution.
A templated base class for handling vector RV.
A class for handling sampling from a Gamma probability density distribution.
GammaVectorRV(const char *prefix, const VectorSet< V, M > &imageSet, const V &a, const V &b)
Default Constructor.
BaseJointPdf< V, M > * m_pdf
const V & maxValues() const
Vector of the maximum values of the box subset.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
virtual ~GammaVectorRV()
Virtual destructor.
const V & minValues() const
Vector of the minimum values of the box subset.
const BaseVectorCdf< V, M > * m_unifiedCdf
A class for handling Gamma joint PDFs.
Class representing a subset of a vector space shaped like a hypercube.
const BaseEnvironment & m_env
const VectorSet< V, M > & imageSet() const
Image set of the vector RV; access to private attribute m_imageSet.
const BaseVectorMdf< V, M > * m_mdf
#define queso_require_greater_equal_msg(expr1, expr2, msg)
void print(std::ostream &os) const
TODO: Prints the vector RV.
const BaseVectorCdf< V, M > * m_subCdf
BaseVectorRealizer< V, M > * m_realizer