CAPD DynSys Library  5.2.0
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE > Class Template Referenceabstract

This set stores vector of derivatives with respect to a multiindex alpha as a doubleton. More...

#include <capd/dynset/CnDoubletonSet.h>

Public Types

typedef MatrixT MatrixType
 
typedef CnSet< MatrixT, DEGREE > SetType
 
typedef MatrixType::size_type size_type
 
typedef SetType::VectorType VectorType
 
typedef SetType::ScalarType ScalarType
 
typedef SetType::RefVectorType RefVectorType
 
typedef SetType::JetType JetType
 
typedef SetType::Multipointer Multipointer
 
typedef SetType::Multiindex Multiindex
 
typedef capd::diffAlgebra::CnContainer< MatrixType, 0, 0, 0 > CoordSystemContainer
 

Public Member Functions

 CnDoubletonSet (const VectorType &x, size_type degree, ScalarType t=TypeTraits< ScalarType >::zero())
 
 CnDoubletonSet (const VectorType &x, const VectorType &r0, size_type degree, ScalarType t=TypeTraits< ScalarType >::zero())
 
 CnDoubletonSet (const VectorType &x, const MatrixType &C, const VectorType &r0, size_type degree, ScalarType t=TypeTraits< ScalarType >::zero())
 
 CnDoubletonSet (const VectorType &x, const MatrixType &C, const VectorType &r0, const VectorType &r, size_type degree, ScalarType t=TypeTraits< ScalarType >::zero())
 
 CnDoubletonSet (const JetType &x, ScalarType t=TypeTraits< ScalarType >::zero())
 
template<class DynSysT >
void move (DynSysT &cndynsys)
 
template<class DynSysT >
void move (DynSysT &cndynsys, CnDoubletonSet &result) const
 
std::string show () const
 
ScalarType evalAffineFunctional (const VectorType &gradient, const VectorType &x0) const
 
size_type degree () const
 returns maximal order of partial derivative stored in the jet More...
 
size_type dimension () const
 returns number of variables in the jet More...
 
ScalarType maxDiam () const
 returns actual maximal diameter of the current set More...
 
const JetTypecurrentSet () const
 returns actual set as a read-only jet. More...
 
JetTypecurrentSet ()
 returns actual set as a jet More...
 
RefVectorType getLastEnclosure () const
 returns an enclosure for trajectories for last performed step of integration. On initialization is equal to the current set. More...
 
MatrixType getLastMatrixEnclosure () const
 returns an enclosure for first order variational equations for last performed step of integration. On initialization is equal to the current derivatives set. More...
 
virtual const JetTypegetLastJetEnclosure () const
 returns jet of enclosures computed in the last performed step of integration. More...
 
virtual void setLastJetEnclosure (const JetType &enc)
 
 operator VectorType () const
 returns actual value of function represented by jet More...
 
 operator MatrixType () const
 returns actual derivative of function represented by jet More...
 
const ScalarTypeoperator() (size_type i, const Multipointer &mp) const
 returns a Taylor coefficients corresponding to multipointer, (1/mp!)d^{mp}f_i More...
 
const ScalarTypeoperator() (size_type i, const Multiindex &mp) const
 returns a Taylor coefficients corresponding to multiindex, (1/mp!)d^{mp}f_i More...
 
RefVectorType operator() (const Multipointer &mp) const
 returns vector of Taylor coefficients corresponding to multipointer, i.e. result[i] = (1/mp!)d^{mp}f More...
 
const ScalarTypeoperator() (size_type i, size_type j, size_type c) const
 returns Taylor coefficient corresponding to partial derivative d^2f_i/dx_jdx_c More...
 
const ScalarTypeoperator() (size_type j, size_type c) const
 returns df_j/dx_c More...
 
const ScalarTypeoperator() (size_type i) const
 returns actual value of f_i More...
 
const ScalarType getCurrentTime () const
 
ScalarTyperefCurrentTime ()
 
void setCurrentTime (const ScalarType &t)
 
ScalarType evalAt (const Functional &f) const
 This method computes value of functor f at interval vector represented by this set. More...
 
virtual std::string show () const=0
 returns a set detailed information More...
 

Protected Attributes

JetType m_currentSet
 
JetType m_lastEnclosure
 
ScalarType m_currentTime
 

Detailed Description

template<typename MatrixT, typename Policies, __size_type DEGREE = 0>
class capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >

This set stores vector of derivatives with respect to a multiindex alpha as a doubleton.

The evolution is partially defined in policies.

Member Typedef Documentation

◆ CoordSystemContainer

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef capd::diffAlgebra::CnContainer<MatrixType,0,0,0> capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CoordSystemContainer

◆ JetType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::JetType capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::JetType

◆ MatrixType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef MatrixT capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::MatrixType

◆ Multiindex

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::Multiindex capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::Multiindex

◆ Multipointer

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::Multipointer capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::Multipointer

◆ RefVectorType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::RefVectorType capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::RefVectorType

◆ ScalarType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::ScalarType capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::ScalarType

◆ SetType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef CnSet<MatrixT,DEGREE> capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::SetType

◆ size_type

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef MatrixType::size_type capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::size_type

◆ VectorType

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
typedef SetType::VectorType capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::VectorType

Constructor & Destructor Documentation

◆ CnDoubletonSet() [1/5]

template<typename MatrixT , typename Policies , __size_type DEGREE>
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CnDoubletonSet ( const VectorType x,
size_type  degree,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ CnDoubletonSet() [2/5]

template<typename MatrixT , typename Policies , __size_type DEGREE>
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CnDoubletonSet ( const VectorType x,
const VectorType r0,
size_type  degree,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ CnDoubletonSet() [3/5]

template<typename MatrixT , typename Policies , __size_type DEGREE>
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CnDoubletonSet ( const VectorType x,
const MatrixType C,
const VectorType r0,
size_type  degree,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ CnDoubletonSet() [4/5]

template<typename MatrixT , typename Policies , __size_type DEGREE>
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CnDoubletonSet ( const VectorType x,
const MatrixType C,
const VectorType r0,
const VectorType r,
size_type  degree,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

◆ CnDoubletonSet() [5/5]

template<typename MatrixT , typename Policies , __size_type DEGREE>
capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::CnDoubletonSet ( const JetType x,
ScalarType  t = TypeTraits<ScalarType>::zero() 
)

Member Function Documentation

◆ currentSet() [1/2]

JetType& capd::dynset::CnSet< MatrixT, DEGREE >::currentSet
inlineinherited

returns actual set as a jet

◆ currentSet() [2/2]

const JetType& capd::dynset::CnSet< MatrixT, DEGREE >::currentSet
inlineinherited

returns actual set as a read-only jet.

◆ degree()

size_type capd::dynset::CnSet< MatrixT, DEGREE >::degree
inlineinherited

returns maximal order of partial derivative stored in the jet

◆ dimension()

size_type capd::dynset::CnSet< MatrixT, DEGREE >::dimension
inlineinherited

returns number of variables in the jet

◆ evalAffineFunctional()

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
ScalarType capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::evalAffineFunctional ( const VectorType gradient,
const VectorType x0 
) const
inline

◆ evalAt()

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.

◆ getCurrentTime()

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

◆ getLastEnclosure()

RefVectorType capd::dynset::CnSet< MatrixT, DEGREE >::getLastEnclosure
inlineinherited

returns an enclosure for trajectories for last performed step of integration. On initialization is equal to the current set.

◆ getLastJetEnclosure()

virtual const JetType& capd::dynset::CnSet< MatrixT, DEGREE >::getLastJetEnclosure
inlinevirtualinherited

returns jet of enclosures computed in the last performed step of integration.

◆ getLastMatrixEnclosure()

MatrixType capd::dynset::CnSet< MatrixT, DEGREE >::getLastMatrixEnclosure
inlineinherited

returns an enclosure for first order variational equations for last performed step of integration. On initialization is equal to the current derivatives set.

◆ maxDiam()

ScalarType capd::dynset::CnSet< MatrixT, DEGREE >::maxDiam
inlineinherited

returns actual maximal diameter of the current set

◆ move()

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
template<class DynSysT >
void capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::move ( DynSysT &  cndynsys)
inline

◆ operator MatrixType()

capd::dynset::CnSet< MatrixT, DEGREE >::operator MatrixType
inlineinherited

returns actual derivative of function represented by jet

◆ operator VectorType()

capd::dynset::CnSet< MatrixT, DEGREE >::operator VectorType
inlinevirtualinherited

returns actual value of function represented by jet

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

◆ operator()() [1/6]

RefVectorType capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( const Multipointer mp) const
inlineinherited

returns vector of Taylor coefficients corresponding to multipointer, i.e. result[i] = (1/mp!)d^{mp}f

◆ operator()() [2/6]

const ScalarType& capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( size_type  i) const
inlineinherited

returns actual value of f_i

◆ operator()() [3/6]

const ScalarType& capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( size_type  i,
const Multiindex mp 
) const
inlineinherited

returns a Taylor coefficients corresponding to multiindex, (1/mp!)d^{mp}f_i

◆ operator()() [4/6]

const ScalarType& capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( size_type  i,
const Multipointer mp 
) const
inlineinherited

returns a Taylor coefficients corresponding to multipointer, (1/mp!)d^{mp}f_i

◆ operator()() [5/6]

const ScalarType& capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( size_type  i,
size_type  j,
size_type  c 
) const
inlineinherited

returns Taylor coefficient corresponding to partial derivative d^2f_i/dx_jdx_c

◆ operator()() [6/6]

const ScalarType& capd::dynset::CnSet< MatrixT, DEGREE >::operator() ( size_type  j,
size_type  c 
) const
inlineinherited

returns df_j/dx_c

◆ refCurrentTime()

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

◆ setCurrentTime()

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

◆ setLastJetEnclosure()

virtual void capd::dynset::CnSet< MatrixT, DEGREE >::setLastJetEnclosure ( const JetType enc)
inlinevirtualinherited

◆ show() [1/2]

template<typename MatrixT , typename Policies , __size_type DEGREE = 0>
std::string capd::dynset::CnDoubletonSet< MatrixT, Policies, DEGREE >::show ( ) const
inline

◆ show() [2/2]

Member Data Documentation

◆ m_currentSet

JetType capd::dynset::CnSet< MatrixT, DEGREE >::m_currentSet
protectedinherited

◆ m_currentTime

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

◆ m_lastEnclosure

JetType capd::dynset::CnSet< MatrixT, DEGREE >::m_lastEnclosure
protectedinherited