25 #include <queso/VectorSpace.h> 
   26 #include <queso/VectorSet.h> 
   27 #include <queso/IntersectionSubset.h> 
   28 #include <queso/GslVector.h> 
   29 #include <queso/GslMatrix.h> 
   34 template<
class V, 
class M>
 
   47 template<
class V, 
class M>
 
   53 template<
class V, 
class M>
 
   56   return (m_set1.contains(vec) && m_set2.contains(vec));
 
   60 template <
class V, 
class M>
 
   63   os << 
"In IntersectionSubset<V,M>::print()" 
   64      << 
": m_set1 = " << m_set1
 
   65      << 
", m_set2 = " << m_set2
 
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. 
 
IntersectionSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, double volume, const VectorSet< V, M > &set1, const VectorSet< V, M > &set2)
Default, shaped constructor. 
 
~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). 
 
A class representing a vector space.