25 #include <queso/VectorSubset.h>
26 #include <queso/VectorSpace.h>
27 #include <queso/GslVector.h>
28 #include <queso/GslMatrix.h>
33 template <
class V,
class M>
37 :
VectorSet<V,M>(vectorSpace.env(), prefix, volume),
38 m_vectorSpace(&vectorSpace)
52 template <
class V,
class M>
55 if ((m_env.subDisplayFile()) && (m_env.displayVerbosity() >= 54)) {
56 *m_env.subDisplayFile() <<
"Entering VectorSubset<V,M>::destructor()"
60 if ((m_env.subDisplayFile()) && (m_env.displayVerbosity() >= 54)) {
61 *m_env.subDisplayFile() <<
"Leaving VectorSubset<V,M>::destructor()"
67 template <
class V,
class M>
70 return *m_vectorSpace;
74 template <
class V,
class M>
77 os <<
"In VectorSubset<V,M>::print()"
78 <<
": nothing to be printed" << std::endl;
unsigned int displayVerbosity() const
A templated class for handling sets.
A templated class for handling subsets.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
virtual ~VectorSubset()
Destructor.
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
virtual void print(std::ostream &os) const
Prints nothing.
VectorSubset()
Default Constructor.
A class representing a vector space.
const BaseEnvironment & m_env