25 #ifndef UQ_CONCATENATION_SUBSET_H
26 #define UQ_CONCATENATION_SUBSET_H
28 #include <queso/VectorSpace.h>
29 #include <queso/VectorSubset.h>
42 template <
class V = GslVector,
class M = GslMatrix>
74 void print (std::ostream& os)
const;
83 std::vector<const VectorSet<V,M>* >
m_sets;
88 #endif // UQ_CONCATENATION_SUBSET_H
std::vector< const VectorSet< V, M > * > m_sets
A templated class for handling sets.
A templated class representing the concatenation of two vector subsets.
ConcatenationSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, const VectorSet< V, M > &set1, const VectorSet< V, M > &set2)
Constructor - two sets only.
A templated class for handling subsets.
double volume() const
Set volume; access to private attribute m_volume.
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
const std::string & prefix() const
Access to private attribute m_prefix.
void print(std::ostream &os) const
Prints the subsets (via protected attribute m_sets).
bool contains(const V &vec) const
Determines whether each one of the subsets m_sets (class' private attributes) contains vector vec...
~ConcatenationSubset()
Destructor.
A class representing a vector space.