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;
 
   86   virtual       void                     centroid   (V& vec)     
const = 0;
 
   89   virtual       void                     moments    (M& mat)     
const = 0;
 
   94   virtual       void                     print      (std::ostream& os) 
const;
 
  116 #endif // UQ_VECTOR_SET_H 
A class representing a vector space. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
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. 
 
const BaseEnvironment & env() const 
Environment. Access to private attribute m_env. 
 
virtual ~VectorSet()
Virtual destructor. 
 
virtual void moments(M &mat) const =0
Returns the set moments of inertia in the matrix mat. See template specialization. 
 
A templated class for handling sets. 
 
double volume() const 
Set volume; access to private attribute m_volume. 
 
const std::string & prefix() const 
Access to private attribute m_prefix. 
 
VectorSet()
Default Constructor. 
 
virtual void centroid(V &vec) const =0
Returns the set centroid in the vector vec. See template specialization. 
 
friend std::ostream & operator<<(std::ostream &os, const VectorSet< V, M > &obj)
 
virtual const VectorSpace< V, M > & vectorSpace() const =0
Vector space to which this set belongs to. See template specialization. 
 
const BaseEnvironment & m_env