queso-0.53.0
|
A templated class for handling sets. More...
#include <VectorSet.h>
Public Member Functions | |
Constructor/Destructor methods. | |
VectorSet (const BaseEnvironment &env, const char *prefix, double volume) | |
Shaped constructor. More... | |
virtual | ~VectorSet () |
Virtual destructor. More... | |
Environment methods | |
const BaseEnvironment & | env () const |
Environment. Access to private attribute m_env. More... | |
const std::string & | prefix () const |
Access to private attribute m_prefix. More... | |
Mathematical methods. | |
double | volume () const |
Set volume; access to private attribute m_volume. More... | |
virtual const VectorSpace< V, M > & | vectorSpace () const =0 |
Vector space to which this set belongs to. See template specialization. More... | |
virtual bool | contains (const V &vec) const =0 |
Checks whether a set contains vector vec . See template specialization. More... | |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
double | m_volume |
Private Member Functions | |
VectorSet () | |
Default Constructor. More... | |
I/O methods. | |
virtual void | print (std::ostream &os) const |
Prints nothing. More... | |
std::ostream & | operator<< (std::ostream &os, const VectorSet< V, M > &obj) |
A templated class for handling sets.
This class allows the mathematical definition of a scalar function such as: , since it requires the specification of the domain , which is a subset of the vector space , which is itself a set.
Definition at line 52 of file VectorSet.h.
QUESO::VectorSet< V, M >::VectorSet | ( | const BaseEnvironment & | env, |
const char * | prefix, | ||
double | volume | ||
) |
Shaped constructor.
Creates a vector set given an environment, a identifying prefix and a volume.
Definition at line 44 of file VectorSet.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::VectorSet< V, M >::m_env, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
Virtual destructor.
Definition at line 63 of file VectorSet.C.
|
private |
|
pure virtual |
Checks whether a set contains vector vec
. See template specialization.
Implemented in QUESO::VectorSpace< V, M >, QUESO::ConcatenationSubset< V, M >, QUESO::VectorSubset< V, M >, QUESO::BoxSubset< V, M >, QUESO::IntersectionSubset< V, M >, and QUESO::DiscreteSubset< V, M >.
const BaseEnvironment & QUESO::VectorSet< V, M >::env | ( | ) | const |
const std::string & QUESO::VectorSet< V, M >::prefix | ( | ) | const |
Access to private attribute m_prefix.
Definition at line 84 of file VectorSet.C.
Referenced by QUESO::InstantiateIntersection().
|
virtual |
Prints nothing.
Reimplemented in QUESO::VectorSpace< V, M >, QUESO::VectorSpace< S_V, S_M >, QUESO::VectorSpace< D_V, D_M >, QUESO::VectorSpace< P_V, P_M >, QUESO::VectorSpace< Q_V, Q_M >, QUESO::BoxSubset< V, M >, QUESO::BoxSubset< S_V, S_M >, QUESO::BoxSubset< P_V, P_M >, QUESO::BoxSubset< Q_V, Q_M >, QUESO::ConcatenationSubset< V, M >, QUESO::ConcatenationSubset< P_V, P_M >, QUESO::VectorSubset< V, M >, QUESO::VectorSubset< S_V, S_M >, QUESO::VectorSubset< Q_V, Q_M >, QUESO::VectorSubset< P_V, P_M >, QUESO::IntersectionSubset< V, M >, and QUESO::DiscreteSubset< V, M >.
Definition at line 98 of file VectorSet.C.
|
pure virtual |
Vector space to which this
set belongs to. See template specialization.
Implemented in QUESO::VectorSpace< V, M >, QUESO::VectorSpace< S_V, S_M >, QUESO::VectorSpace< D_V, D_M >, QUESO::VectorSpace< P_V, P_M >, QUESO::VectorSpace< Q_V, Q_M >, QUESO::VectorSubset< V, M >, QUESO::VectorSubset< S_V, S_M >, QUESO::VectorSubset< Q_V, Q_M >, and QUESO::VectorSubset< P_V, P_M >.
Referenced by QUESO::ComputeCovCorrMatricesBetweenVectorRvs(), QUESO::ConcatenatedJointPdf< V, M >::ConcatenatedJointPdf(), QUESO::ExponentialMatrixCovarianceFunction< P_V, P_M, Q_V, Q_M >::ExponentialMatrixCovarianceFunction(), QUESO::InstantiateIntersection(), and QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
double QUESO::VectorSet< V, M >::volume | ( | ) | const |
Set volume; access to private attribute m_volume.
Definition at line 91 of file VectorSet.C.
|
friend |
Definition at line 90 of file VectorSet.h.
|
protected |
Definition at line 98 of file VectorSet.h.
Referenced by QUESO::VectorSet< V, M >::VectorSet(), QUESO::VectorSpace< V, M >::VectorSpace(), and QUESO::VectorSubset< V, M >::VectorSubset().
|
protected |
Definition at line 99 of file VectorSet.h.
Referenced by QUESO::VectorSpace< V, M >::VectorSpace().
|
protected |
Definition at line 100 of file VectorSet.h.
Referenced by QUESO::BoxSubset< V, M >::BoxSubset(), and QUESO::DiscreteSubset< V, M >::DiscreteSubset().