25 #ifndef UQ_VECTOR_SET_H
26 #define UQ_VECTOR_SET_H
28 #include <queso/Environment.h>
29 #include <queso/Defines.h>
48 template <
class V,
class M>
51 template <
class V = GslVector,
class M = GslMatrix>
71 const std::string&
prefix ()
const;
83 virtual bool contains (
const V& vec)
const = 0;
88 virtual void print (std::ostream& os)
const;
110 #endif // UQ_VECTOR_SET_H
A templated class for handling sets.
VectorSet()
Default Constructor.
virtual bool contains(const V &vec) const =0
Checks whether a set contains vector vec. See template specialization.
virtual void print(std::ostream &os) const
Prints nothing.
double volume() const
Set volume; access to private attribute m_volume.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
const BaseEnvironment & env() const
Environment. Access to private attribute m_env.
virtual ~VectorSet()
Virtual destructor.
friend std::ostream & operator<<(std::ostream &os, const VectorSet< V, M > &obj)
const std::string & prefix() const
Access to private attribute m_prefix.
A class representing a vector space.
virtual const VectorSpace< V, M > & vectorSpace() const =0
Vector space to which this set belongs to. See template specialization.
const BaseEnvironment & m_env