25 #ifndef UQ_VECTOR_SUBSET_H
26 #define UQ_VECTOR_SUBSET_H
28 #include <queso/VectorSet.h>
45 template <
class V = GslVector,
class M = GslMatrix>
68 virtual bool contains (
const V& vec)
const = 0;
73 virtual void print (std::ostream& os)
const;
86 #endif // UQ_VECTOR_SUBSET_H
A templated class for handling sets.
virtual bool contains(const V &vec) const =0
Returns whether this contains vector vec. See template specialization.
A templated class for handling subsets.
double volume() const
Set volume; access to private attribute m_volume.
const VectorSpace< V, M > * m_vectorSpace
virtual ~VectorSubset()
Destructor.
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
virtual void print(std::ostream &os) const
Prints nothing.
VectorSubset()
Default Constructor.
const std::string & prefix() const
Access to private attribute m_prefix.
A class representing a vector space.