25 #ifndef UQ_INTERSECTION_SUBSET_H 
   26 #define UQ_INTERSECTION_SUBSET_H 
   28 #include <queso/VectorSpace.h> 
   29 #include <queso/VectorSubset.h> 
   44 template <
class V = GslVector, 
class M = GslMatrix>
 
   70   void print   (std::ostream& os) 
const;
 
   90 #endif // UQ_INTERSECTION_SUBSET_H 
bool contains(const V &vec) const 
Determines whether both sets m_set1 and m_set2 (class' private attributes) contain vector vec...
 
A templated class representing the intersection of two vector sets. 
 
A templated class for handling sets. 
 
const std::string & prefix() const 
Access to private attribute m_prefix. 
 
double volume() const 
Set volume; access to private attribute m_volume. 
 
IntersectionSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, double volume, const VectorSet< V, M > &set1, const VectorSet< V, M > &set2)
Default, shaped constructor. 
 
const VectorSet< V, M > & m_set2
Vector set: m_set2. 
 
~IntersectionSubset()
Destructor. 
 
A templated class for handling subsets. 
 
void print(std::ostream &os) const 
Prints both subsets (via protected attributes m_set1 and m_set2). 
 
const VectorSpace< V, M > & vectorSpace() const 
Vector space to which this set belongs to. See template specialization. 
 
A class representing a vector space. 
 
const VectorSet< V, M > & m_set1
Vector set: m_set1.