25 #ifndef UQ_BOX_SUBSET_H
26 #define UQ_BOX_SUBSET_H
28 #include <queso/VectorSpace.h>
29 #include <queso/VectorSubset.h>
43 template <
class V = GslVector,
class M = GslMatrix>
77 void print (std::ostream& os)
const;
94 #endif // UQ_BOX_SUBSET_H
bool contains(const V &vec) const
Checks whether this box subset contains vector vec.
A templated class for handling sets.
void print(std::ostream &os) const
Prints the volume, the minimum and the maximum values of this.
const V & maxValues() const
Vector of the maximum values of the box subset.
A templated class for handling subsets.
const V & minValues() const
Vector of the minimum values of the box subset.
V m_minValues
Vector of templated type V to store the minimum values of the box subset class.
V m_maxValues
Vector of templated type V to store the maximum values of the box subset class.
BoxSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, const V &minValues, const V &maxValues)
Shaped, default constructor.
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
Class representing a subset of a vector space shaped like a hypercube.
const std::string & prefix() const
Access to private attribute m_prefix.
A class representing a vector space.