CAPD::DynSys Library  6.0.0
capd::dynset::C0AffineSet< MatrixT, Policies > Class Template Referenceabstract

The set is represented as: x + B*r; and is moved by the following method. More...

#include <capd/dynset/C0AffineSet.h>

Public Types

using MatrixType = MatrixT
 
using VectorType = typename MatrixType::RowVectorType
 
using ScalarType = typename MatrixType::ScalarType
 
using size_type = typename MatrixType::size_type
 
using NormType = capd::vectalg::Norm< VectorType, MatrixType >
 
using BaseSet = capd::geomset::CenteredAffineSet< MatrixT >
 
using SetType = typename C0Set< MatrixT >::SetType
 
using DynSysType = typename C0Set< MatrixT >::DynSysType
 
typedef MatrixType::ColumnVectorType ColumnVectorType
 
typedef MatrixType::template rebind< typename ScalarType::BoundType >::other RealMatrix
 
typedef VectorType::template rebind< typename ScalarType::BoundType >::other RealVector
 

Public Member Functions

 C0AffineSet (const VectorType &x, ScalarType t=TypeTraits< ScalarType >::zero())
 
 C0AffineSet (const VectorType &x, const VectorType &r, ScalarType t=TypeTraits< ScalarType >::zero())
 
 C0AffineSet (const VectorType &x, const MatrixType &B, const VectorType &r, ScalarType t=TypeTraits< ScalarType >::zero())
 
void move (DynSysType &dynsys)
 computes image of the set after one step/iterate of the dynamical system More...
 
void move (DynSysType &dynsys, C0AffineSet &result) const
 computes image of the set after one step/iterate of the dynamical system and stores it in result More...
 
template<class Funcitonal >
ScalarType evalAt (const Funcitonal &f) const
 This method computes value of functor f at interval vector represented by this set. More...
 
std::string show () const
 returns a set detailed information More...
 
std::string name () const
 returns set's name More...
 
const ScalarType getCurrentTime () const
 
ScalarTyperefCurrentTime ()
 
void setCurrentTime (const ScalarType &t)
 
const MatrixT::RowVectorType & getLastEnclosure () const
 
virtual operator MatrixT::RowVectorType () const
 returns an enclosure of the set in the canonical coordinates More...
 
void setCurrentSet (const MatrixT::RowVectorType &x)
 
ScalarType evalAt (const Functional &f) const
 This method computes value of functor f at interval vector represented by this set. More...
 
virtual operator VectorType () const=0
 
template<class Functional >
ScalarType evalAt (const Functional &f, const VectorType &gradient) const
 This method computes value of functor f at interval vector represented by this set. This set is represented as X=x+B*r, where r contains zero. Then f(X) can be evaluated as f(x) + (Df(X)*B)*r. More...
 
size_type dimension () const
 returns dimension of a set More...
 
 operator VectorType () const
 returns interval vector that contains set. More...
 
virtual std::string toString () const
 returns set detailed information More...
 
virtual VectorType affineTransformation (const MatrixType &, const VectorType &) const
 returns set image after affine transformation More...
 
virtual ScalarType evalAffineFunctional (const VectorType &gradient, const VectorType &x0) const
 This method computes value of an affine functional f at the vector represented by this set. This set is represented as doubleton X=x+B*r. Then f(X) = grad*(X-x0) can be computed as grad*(x-x0) + (grad*B)*r. More...
 
const VectorTypeget_x () const
 
const ScalarTypegetElement_x (int i) const
 
void set_x (const VectorType &x)
 
void setElement_x (size_type i, const ScalarType &s)
 
const VectorTypeget_r () const
 
const ScalarTypegetElement_r (size_type i) const
 
void set_r (const VectorType &r)
 
void setElement_r (size_type i, const ScalarType &s)
 
const MatrixTypeget_B () const
 
const MatrixTypeget_invB () const
 
void setToIdentity ()
 
const ScalarTypegetElement_B (size_type i, size_type j) const
 
VectorType getRow_B (size_type i) const
 
ColumnVectorType getColumn_B (size_type j) const
 
void set_B (const MatrixType &B)
 
void set_invB (const MatrixType &B)
 
void setElement_B (size_type i, size_type j, const ScalarType &s)
 
template<typename VectorT >
void setRow_B (size_type i, const VectorT &v)
 
template<typename VectorT >
void setColumn_B (size_type j, const VectorT &v)
 

Static Public Member Functions

static const size_type degree ()
 

Public Attributes

VectorType m_x
 x is a center of the set More...
 
MatrixType m_B
 B is a coordinate system. More...
 
MatrixType m_invB
 
VectorType m_r
 r is a interval set in given coordinate system More...
 

Protected Member Functions

void setLastEnclosure (const MatrixT::RowVectorType &enc)
 

Protected Attributes

ScalarType m_currentTime
 
MatrixT::RowVectorType m_currentSet
 
MatrixT::RowVectorType m_lastEnclosure
 

Detailed Description

template<typename MatrixT, typename Policies>
class capd::dynset::C0AffineSet< MatrixT, Policies >

The set is represented as: x + B*r; and is moved by the following method.

internal representation : B*r - depending on the QRPolicy

Member Typedef Documentation

◆ BaseSet

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::BaseSet = capd::geomset::CenteredAffineSet<MatrixT>

◆ ColumnVectorType

template<typename MatrixT >
typedef MatrixType::ColumnVectorType capd::geomset::CenteredAffineSet< MatrixT >::ColumnVectorType
inherited

◆ DynSysType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::DynSysType = typename C0Set<MatrixT>::DynSysType

◆ MatrixType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::MatrixType = MatrixT

◆ NormType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::NormType = capd::vectalg::Norm<VectorType, MatrixType>

◆ RealMatrix

template<typename MatrixT >
typedef MatrixType::template rebind<typename ScalarType::BoundType>::other capd::geomset::AffineSet< MatrixT >::RealMatrix
inherited

◆ RealVector

template<typename MatrixT >
typedef VectorType::template rebind<typename ScalarType::BoundType>::other capd::geomset::AffineSet< MatrixT >::RealVector
inherited

◆ ScalarType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::ScalarType = typename MatrixType::ScalarType

◆ SetType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::SetType = typename C0Set<MatrixT>::SetType

◆ size_type

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::size_type = typename MatrixType::size_type

◆ VectorType

template<typename MatrixT , typename Policies >
using capd::dynset::C0AffineSet< MatrixT, Policies >::VectorType = typename MatrixType::RowVectorType

Constructor & Destructor Documentation

◆ C0AffineSet() [1/3]

template<typename MatrixType , typename Policies >
capd::dynset::C0AffineSet< MatrixType, Policies >::C0AffineSet ( const VectorType x,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ C0AffineSet() [2/3]

template<typename MatrixType , typename Policies >
capd::dynset::C0AffineSet< MatrixType, Policies >::C0AffineSet ( const VectorType x,
const VectorType r,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ C0AffineSet() [3/3]

template<typename MatrixType , typename Policies >
capd::dynset::C0AffineSet< MatrixType, Policies >::C0AffineSet ( const VectorType x,
const MatrixType B,
const VectorType r,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

Member Function Documentation

◆ degree()

template<typename MatrixT >
static const size_type capd::dynset::C0Set< MatrixT >::degree ( )
inlinestaticinherited

◆ dimension()

template<typename MatrixT >
size_type capd::geomset::AffineSet< MatrixT >::dimension ( ) const
inlineinherited

returns dimension of a set

◆ evalAt() [1/3]

template<typename MatrixT , typename Policies >
template<class Funcitonal >
ScalarType capd::dynset::C0AffineSet< MatrixT, Policies >::evalAt ( const Funcitonal &  f) const
inline

This method computes value of functor f at interval vector represented by this set.

◆ evalAt() [2/3]

ScalarType capd::dynset::AbstractSet< MatrixT::RowVectorType >::evalAt ( const Functional &  f) const
inlineinherited

This method computes value of functor f at interval vector represented by this set.

◆ evalAt() [3/3]

template<typename MatrixT >
template<class Functional >
ScalarType capd::geomset::CenteredAffineSet< MatrixT >::evalAt ( const Functional &  f,
const VectorType gradient 
) const
inlineinherited

This method computes value of functor f at interval vector represented by this set. This set is represented as X=x+B*r, where r contains zero. Then f(X) can be evaluated as f(x) + (Df(X)*B)*r.

◆ get_B()

template<typename MatrixT >
const MatrixType& capd::geomset::AffineSet< MatrixT >::get_B ( ) const
inlineinherited

◆ get_invB()

template<typename MatrixT >
const MatrixType& capd::geomset::AffineSet< MatrixT >::get_invB ( ) const
inlineinherited

◆ get_r()

template<typename MatrixT >
const VectorType& capd::geomset::AffineSet< MatrixT >::get_r ( ) const
inlineinherited

◆ get_x()

template<typename MatrixT >
const VectorType& capd::geomset::AffineSet< MatrixT >::get_x ( ) const
inlineinherited

◆ getColumn_B()

template<typename MatrixT >
ColumnVectorType capd::geomset::AffineSet< MatrixT >::getColumn_B ( size_type  j) const
inlineinherited

◆ getCurrentTime()

const ScalarType capd::diffAlgebra::TimeRange< MatrixT::ScalarType >::getCurrentTime ( ) const
inlineinherited

◆ getElement_B()

template<typename MatrixT >
const ScalarType& capd::geomset::AffineSet< MatrixT >::getElement_B ( size_type  i,
size_type  j 
) const
inlineinherited

◆ getElement_r()

template<typename MatrixT >
const ScalarType& capd::geomset::AffineSet< MatrixT >::getElement_r ( size_type  i) const
inlineinherited

◆ getElement_x()

template<typename MatrixT >
const ScalarType& capd::geomset::AffineSet< MatrixT >::getElement_x ( int  i) const
inlineinherited

◆ getLastEnclosure()

const MatrixT::RowVectorType & capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::getLastEnclosure ( ) const
inlineinherited

◆ getRow_B()

template<typename MatrixT >
VectorType capd::geomset::AffineSet< MatrixT >::getRow_B ( size_type  i) const
inlineinherited

◆ move() [1/2]

template<typename MatrixType , typename Policies >
void capd::dynset::C0AffineSet< MatrixType, Policies >::move ( DynSysType dynsys)
virtual

computes image of the set after one step/iterate of the dynamical system

Implements capd::dynset::C0Set< MatrixT >.

◆ move() [2/2]

template<typename MatrixType , typename Policies >
void capd::dynset::C0AffineSet< MatrixType, Policies >::move ( DynSysType dynsys,
C0AffineSet< MatrixT, Policies > &  result 
) const

computes image of the set after one step/iterate of the dynamical system and stores it in result

◆ name()

template<typename MatrixT , typename Policies >
std::string capd::dynset::C0AffineSet< MatrixT, Policies >::name ( ) const
inlinevirtual

returns set's name

Reimplemented from capd::geomset::CenteredAffineSet< MatrixT >.

◆ operator MatrixT::RowVectorType()

virtual capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::operator MatrixT::RowVectorType ( ) const
inlinevirtualinherited

returns an enclosure of the set in the canonical coordinates

◆ operator VectorType() [1/2]

template<typename MatrixT >
capd::geomset::AffineSet< MatrixT >::operator VectorType ( ) const
inherited

returns interval vector that contains set.

◆ operator VectorType() [2/2]

◆ refCurrentTime()

ScalarType& capd::diffAlgebra::TimeRange< MatrixT::ScalarType >::refCurrentTime ( )
inlineinherited

◆ set_B()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::set_B ( const MatrixType B)
inlineinherited

◆ set_invB()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::set_invB ( const MatrixType B)
inlineinherited

◆ set_r()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::set_r ( const VectorType r)
inlineinherited

◆ set_x()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::set_x ( const VectorType x)
inlineinherited

◆ setColumn_B()

template<typename MatrixT >
template<typename VectorT >
void capd::geomset::AffineSet< MatrixT >::setColumn_B ( size_type  j,
const VectorT &  v 
)
inlineinherited

◆ setCurrentSet()

void capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::setCurrentSet ( const VectorT &  x)
inlineinherited

◆ setCurrentTime()

void capd::diffAlgebra::TimeRange< MatrixT::ScalarType >::setCurrentTime ( const ScalarType t)
inlineinherited

◆ setElement_B()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::setElement_B ( size_type  i,
size_type  j,
const ScalarType s 
)
inlineinherited

◆ setElement_r()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::setElement_r ( size_type  i,
const ScalarType s 
)
inlineinherited

◆ setElement_x()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::setElement_x ( size_type  i,
const ScalarType s 
)
inlineinherited

◆ setLastEnclosure()

void capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::setLastEnclosure ( const VectorT &  enc)
inlineprotectedinherited

◆ setRow_B()

template<typename MatrixT >
template<typename VectorT >
void capd::geomset::AffineSet< MatrixT >::setRow_B ( size_type  i,
const VectorT &  v 
)
inlineinherited

◆ setToIdentity()

template<typename MatrixT >
void capd::geomset::AffineSet< MatrixT >::setToIdentity ( )
inlineinherited

◆ show()

template<typename MatrixType , typename Policies >
std::string capd::dynset::C0AffineSet< MatrixType, Policies >::show ( void  ) const
virtual

returns a set detailed information

Implements capd::dynset::AbstractSet< MatrixT::RowVectorType >.

Member Data Documentation

◆ m_B

template<typename MatrixT >
MatrixType capd::geomset::AffineSet< MatrixT >::m_B
inherited

B is a coordinate system.

◆ m_currentSet

MatrixT::RowVectorType capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::m_currentSet
protectedinherited

◆ m_currentTime

ScalarType capd::diffAlgebra::TimeRange< MatrixT::ScalarType >::m_currentTime
protectedinherited

◆ m_invB

template<typename MatrixT >
MatrixType capd::geomset::AffineSet< MatrixT >::m_invB
inherited

◆ m_lastEnclosure

MatrixT::RowVectorType capd::dynset::C0EnclosureHolder< MatrixT::RowVectorType >::m_lastEnclosure
protectedinherited

◆ m_r

template<typename MatrixT >
VectorType capd::geomset::AffineSet< MatrixT >::m_r
inherited

r is a interval set in given coordinate system

◆ m_x

template<typename MatrixT >
VectorType capd::geomset::AffineSet< MatrixT >::m_x
inherited

x is a center of the set


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