26 #include <queso/math_macros.h>
27 #include <queso/UniformVectorRealizer.h>
28 #include <queso/GslVector.h>
29 #include <queso/GslMatrix.h>
34 template<
class V,
class M>
39 BaseVectorRealizer<V,M>(((std::string)(prefix)+
"gen").c_str(),unifiedImageSet,std::numeric_limits<unsigned int>::max())
54 template<
class V,
class M>
59 template<
class V,
class M>
65 queso_require_msg(imageBox,
"only box images are supported right now");
66 queso_require_msg(
queso_isfinite(imageBox->
volume()),
"drawing realisations from an improper uniform is not supported");
A templated (base) class for handling sampling from vector RVs.
UniformVectorRealizer(const char *prefix, const VectorSet< V, M > &unifiedImageSet)
Constructor.
const BaseEnvironment & m_env
bool queso_isfinite(T arg)
double volume() const
Set volume; access to private attribute m_volume.
A templated class for handling sets.
~UniformVectorRealizer()
Destructor.
void realization(V &nextValues) const
Draws a realization.
const V & minValues() const
Vector of the minimum values of the box subset.
Class representing a subset of a vector space shaped like a hypercube.
A class for handling sampling from a Uniform probability density distribution.
unsigned int displayVerbosity() const
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).