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));
 
   59 template<
class V, 
class M>
 
   66 template<
class V, 
class M>
 
   74 template <
class V, 
class M>
 
   77   os << 
"In IntersectionSubset<V,M>::print()" 
   78      << 
": m_set1 = " << m_set1
 
   79      << 
", m_set2 = " << m_set2
 
void moments(M &mat) const 
Returns the set moments of inertia in the matrix mat. Not implemented. 
 
void print(std::ostream &os) const 
Prints both subsets (via protected attributes m_set1 and m_set2). 
 
A class representing a vector space. 
 
A templated class for handling sets. 
 
#define queso_not_implemented()
 
bool contains(const V &vec) const 
Determines whether both sets m_set1 and m_set2 (class' private attributes) contain vector vec...
 
void centroid(V &vec) const 
Returns the set centroid in the vector vec. Not implemented. 
 
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 representing the intersection of two vector sets. 
 
A templated class for handling subsets.