CAPD::DynSys Library  6.0.0
capd::covrel::GridSet< MatrixT > Class Template Reference

This class is used to store a grid of a sets in the form center[i] + M * r. More...

#include <capd/covrel/GridSet.h>

Public Types

typedef MatrixT MatrixType
 
typedef MatrixType::RowVectorType VectorType
 
typedef MatrixType::ScalarType ScalarType
 
typedef std::vector< VectorType >::iterator iterator
 
typedef std::vector< VectorType >::const_iterator const_iterator
 

Public Member Functions

 GridSet (int dim)
 
const VectorTypecenters (int i) const
 returns center of the i-th set More...
 
VectorTypecenters (int i)
 returns reference to center of the i-th set More...
 
void setCenter (int i, const VectorType &newCenter)
 
size_t size () const
 
void resize (size_t newSize)
 
const MatrixTypecoordinateSystem () const
 returns matrix of the coordinate system (columns are its base vectors) More...
 
MatrixTypecoordinateSystem ()
 returns reference to matrix of the coordinate system (columns are its base vectors) More...
 
void setCoordinateSystem (const MatrixType &newCoordinateSystem)
 
const VectorTypebox () const
 returns set in given coordinate system (in which set is zero-centered product of intervals) This set is common for all sets in the grid More...
 
VectorTypebox ()
 
void setBox (const VectorType &newBox)
 
iterators through centers of the sets
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

std::vector< VectorTypecenter
 
MatrixType C
 
VectorType r
 

Detailed Description

template<typename MatrixT>
class capd::covrel::GridSet< MatrixT >

This class is used to store a grid of a sets in the form center[i] + M * r.

Member Typedef Documentation

◆ const_iterator

template<typename MatrixT >
typedef std::vector<VectorType>::const_iterator capd::covrel::GridSet< MatrixT >::const_iterator

◆ iterator

template<typename MatrixT >
typedef std::vector<VectorType>::iterator capd::covrel::GridSet< MatrixT >::iterator

◆ MatrixType

template<typename MatrixT >
typedef MatrixT capd::covrel::GridSet< MatrixT >::MatrixType

◆ ScalarType

template<typename MatrixT >
typedef MatrixType::ScalarType capd::covrel::GridSet< MatrixT >::ScalarType

◆ VectorType

template<typename MatrixT >
typedef MatrixType::RowVectorType capd::covrel::GridSet< MatrixT >::VectorType

Constructor & Destructor Documentation

◆ GridSet()

template<typename MatrixT >
capd::covrel::GridSet< MatrixT >::GridSet ( int  dim)
inline

Member Function Documentation

◆ begin() [1/2]

template<typename MatrixT >
iterator capd::covrel::GridSet< MatrixT >::begin ( )
inline

◆ begin() [2/2]

template<typename MatrixT >
const_iterator capd::covrel::GridSet< MatrixT >::begin ( ) const
inline

◆ box() [1/2]

template<typename MatrixT >
VectorType& capd::covrel::GridSet< MatrixT >::box ( )
inline

◆ box() [2/2]

template<typename MatrixT >
const VectorType& capd::covrel::GridSet< MatrixT >::box ( ) const
inline

returns set in given coordinate system (in which set is zero-centered product of intervals) This set is common for all sets in the grid

◆ centers() [1/2]

template<typename MatrixT >
VectorType& capd::covrel::GridSet< MatrixT >::centers ( int  i)
inline

returns reference to center of the i-th set

◆ centers() [2/2]

template<typename MatrixT >
const VectorType& capd::covrel::GridSet< MatrixT >::centers ( int  i) const
inline

returns center of the i-th set

◆ coordinateSystem() [1/2]

template<typename MatrixT >
MatrixType& capd::covrel::GridSet< MatrixT >::coordinateSystem ( )
inline

returns reference to matrix of the coordinate system (columns are its base vectors)

◆ coordinateSystem() [2/2]

template<typename MatrixT >
const MatrixType& capd::covrel::GridSet< MatrixT >::coordinateSystem ( ) const
inline

returns matrix of the coordinate system (columns are its base vectors)

◆ end() [1/2]

template<typename MatrixT >
iterator capd::covrel::GridSet< MatrixT >::end ( )
inline

◆ end() [2/2]

template<typename MatrixT >
const_iterator capd::covrel::GridSet< MatrixT >::end ( ) const
inline

◆ resize()

template<typename MatrixT >
void capd::covrel::GridSet< MatrixT >::resize ( size_t  newSize)
inline

◆ setBox()

template<typename MatrixT >
void capd::covrel::GridSet< MatrixT >::setBox ( const VectorType newBox)
inline

◆ setCenter()

template<typename MatrixT >
void capd::covrel::GridSet< MatrixT >::setCenter ( int  i,
const VectorType newCenter 
)
inline

◆ setCoordinateSystem()

template<typename MatrixT >
void capd::covrel::GridSet< MatrixT >::setCoordinateSystem ( const MatrixType newCoordinateSystem)
inline

◆ size()

template<typename MatrixT >
size_t capd::covrel::GridSet< MatrixT >::size ( ) const
inline

Member Data Documentation

◆ C

template<typename MatrixT >
MatrixType capd::covrel::GridSet< MatrixT >::C

◆ center

template<typename MatrixT >
std::vector<VectorType> capd::covrel::GridSet< MatrixT >::center

◆ r

template<typename MatrixT >
VectorType capd::covrel::GridSet< MatrixT >::r

The documentation for this class was generated from the following file: