CAPD::DynSys Library  6.0.0
capd::diffAlgebra::BasicCnCurve< MatrixT > Class Template Reference

This class is a data structure for storing of a parametric curve together with its partial derivatives with respect to initial point up to desired order. More...

#include <capd/diffAlgebra/BasicCnCurve.h>

Public Types

typedef MatrixT MatrixType
 
typedef MatrixType::RowVectorType VectorType
 
typedef MatrixType::ScalarType ScalarType
 
typedef Hessian< ScalarType, VectorType::csDim, VectorType::csDim > HessianType
 
typedef TypeTraits< ScalarType >::Real Real
 
typedef Jet< MatrixT, 0 > JetType
 
typedef __size_type size_type
 
typedef __difference_type difference_type
 

Public Member Functions

 BasicCnCurve (size_type dimension, size_type order, size_type degree)
 
 BasicCnCurve (const BasicCnCurve &c)
 
virtual ~BasicCnCurve ()
 
BasicCnCurveoperator= (const BasicCnCurve &c)
 
virtual void setOrder (size_type order)
 Sets the order of Taylor interpolation. More...
 
size_type getOrder () const
 Returns the order of Taylor interpolation. More...
 
size_type getAllocatedOrder () const
 Returns maximal allocated order - used to avoid memory reallocation. More...
 
size_type dimension () const
 Returns the dimension in which the parametric curve is embedded. More...
 
size_type degree () const
 Returns maximal degree of the jet. More...
 
void setDegree (size_type degree)
 Sets new maximal degree of the jet and reallocates memory. More...
 
void clearCoefficients ()
 sets all coefficients to zero More...
 
const ScalarTypecenterCoefficient (size_type i, size_type k) const
 
const ScalarTypecoefficient (size_type i, size_type k) const
 
const ScalarTypecoefficient (size_type i, size_type j, size_type k) const
 
const ScalarTypecoefficient (size_type i, size_type j, size_type c, size_type k) const
 
const ScalarTypecoefficient (size_type i, size_type j, size_type c, size_type s, size_type k) const
 
const ScalarTyperemainderCoefficient (size_type i, size_type j) const
 
const ScalarTyperemainderCoefficient (size_type i, size_type j, size_type k) const
 
const ScalarTyperemainderCoefficient (size_type i, size_type j, size_type c, size_type k) const
 
const ScalarTyperemainderCoefficient (size_type i, size_type j, size_type c, size_type s, size_type k) const
 
ScalarTypecenterCoefficient (size_type i, size_type k)
 
ScalarTypecoefficient (size_type i, size_type k)
 
ScalarTypecoefficient (size_type i, size_type j, size_type k)
 
ScalarTypecoefficient (size_type i, size_type j, size_type c, size_type k)
 
ScalarTypecoefficient (size_type i, size_type j, size_type c, size_type s, size_type k)
 
ScalarTyperemainderCoefficient (size_type i, size_type j)
 
ScalarTyperemainderCoefficient (size_type i, size_type j, size_type k)
 
ScalarTyperemainderCoefficient (size_type i, size_type j, size_type c, size_type k)
 
ScalarTyperemainderCoefficient (size_type i, size_type j, size_type c, size_type s, size_type k)
 
void allocate (size_type dimension, size_type degree)
 
void deallocate ()
 
void copyData (const BasicCnCurve &c)
 
const VectorTypegetCoefficientsAtCenter () const
 
const JetTypegetCoefficients () const
 
const JetTypegetRemainderCoefficients () const
 
VectorTypegetCoefficientsAtCenter ()
 
JetTypegetCoefficients ()
 
JetTypegetRemainderCoefficients ()
 
void setInitMatrix (const MatrixType &)
 
void setInitHessian (const HessianType &)
 
void setInitJet (const JetType &)
 
std::runtime_error domainErrorMessage (std::string msg, ScalarType h, Real left, Real right) const
 

Public Attributes

VectorTypem_coefficientsAtCenter
 
JetTypem_coefficients
 
JetTypem_remainderCoefficients
 
size_type m_order
 
size_type m_allocatedOrder
 

Detailed Description

template<class MatrixT>
class capd::diffAlgebra::BasicCnCurve< MatrixT >

This class is a data structure for storing of a parametric curve together with its partial derivatives with respect to initial point up to desired order.

More precisely, a curve c(t,x) is represented as c(t,x_0) + d/dx c(t,x)(x-x_0) + smallRemainder(t,x).

Derivatives are represented as d^i c(t,x) + smallRemainder(t,x).

This class provides a member functions for accessing of all coefficients.

Member Typedef Documentation

◆ difference_type

template<class MatrixT >
typedef __difference_type capd::diffAlgebra::BasicCnCurve< MatrixT >::difference_type

◆ HessianType

template<class MatrixT >
typedef Hessian<ScalarType,VectorType::csDim,VectorType::csDim> capd::diffAlgebra::BasicCnCurve< MatrixT >::HessianType

◆ JetType

template<class MatrixT >
typedef Jet<MatrixT,0> capd::diffAlgebra::BasicCnCurve< MatrixT >::JetType

◆ MatrixType

template<class MatrixT >
typedef MatrixT capd::diffAlgebra::BasicCnCurve< MatrixT >::MatrixType

◆ Real

template<class MatrixT >
typedef TypeTraits<ScalarType>::Real capd::diffAlgebra::BasicCnCurve< MatrixT >::Real

◆ ScalarType

template<class MatrixT >
typedef MatrixType::ScalarType capd::diffAlgebra::BasicCnCurve< MatrixT >::ScalarType

◆ size_type

template<class MatrixT >
typedef __size_type capd::diffAlgebra::BasicCnCurve< MatrixT >::size_type

◆ VectorType

template<class MatrixT >
typedef MatrixType::RowVectorType capd::diffAlgebra::BasicCnCurve< MatrixT >::VectorType

Member Function Documentation

◆ domainErrorMessage()

template<class MatrixT >
std::runtime_error capd::diffAlgebra::CurveInterface< MatrixT >::domainErrorMessage ( std::string  msg,
ScalarType  h,
Real  left,
Real  right 
) const
inlineinherited

◆ setInitHessian()

template<class MatrixT >
void capd::diffAlgebra::CurveInterface< MatrixT >::setInitHessian ( const HessianType )
inlineinherited

◆ setInitJet()

template<class MatrixT >
void capd::diffAlgebra::CurveInterface< MatrixT >::setInitJet ( const JetType )
inlineinherited

◆ setInitMatrix()

template<class MatrixT >
void capd::diffAlgebra::CurveInterface< MatrixT >::setInitMatrix ( const MatrixType )
inlineinherited

Member Data Documentation

◆ m_allocatedOrder

template<class MatrixT >
size_type capd::diffAlgebra::BasicCnCurve< MatrixT >::m_allocatedOrder

◆ m_coefficients

template<class MatrixT >
JetType* capd::diffAlgebra::BasicCnCurve< MatrixT >::m_coefficients

◆ m_coefficientsAtCenter

template<class MatrixT >
VectorType* capd::diffAlgebra::BasicCnCurve< MatrixT >::m_coefficientsAtCenter

◆ m_order

template<class MatrixT >
size_type capd::diffAlgebra::BasicCnCurve< MatrixT >::m_order

◆ m_remainderCoefficients

template<class MatrixT >
JetType* capd::diffAlgebra::BasicCnCurve< MatrixT >::m_remainderCoefficients

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