CAPD::DynSys Library  6.0.0
capd::autodiff::SingularNaturalPow Namespace Reference

natural powers x^c for c=2,3,4 are hand optimized and implemented in EvalSqr.h, EvalCubePow.h and EvalQuarticPow.h, respectively. More...

Functions

template<class T , class R >
void evalC0 (const T *left, const T *right, R result, DagIndexer< T > *dag, const unsigned coeffNo)
 
template<class T , class R >
void evalC0HomogenousPolynomial (const T *left, const T *right, R result, DagIndexer< T > *dag)
 
template<class T , class R >
void eval (const unsigned degree, const T *left, const T *right, R result, DagIndexer< T > *dag, const unsigned coeffNo)
 
template<class T , class R >
void evalHomogenousPolynomial (const unsigned degree, const T *left, const T *right, R result, DagIndexer< T > *dag, const unsigned coeffNo)
 

Detailed Description

natural powers x^c for c=2,3,4 are hand optimized and implemented in EvalSqr.h, EvalCubePow.h and EvalQuarticPow.h, respectively.

This file implements automatic differentiation for c>4, provided x\neq 0. Special case of C^0-C^1 jet propagation is implemented also in the case x=0.

Function Documentation

◆ eval()

template<class T , class R >
void capd::autodiff::SingularNaturalPow::eval ( const unsigned  degree,
const T *  left,
const T *  right,
result,
DagIndexer< T > *  dag,
const unsigned  coeffNo 
)

◆ evalC0()

template<class T , class R >
void capd::autodiff::SingularNaturalPow::evalC0 ( const T *  left,
const T *  right,
result,
DagIndexer< T > *  dag,
const unsigned  coeffNo 
)
inline

◆ evalC0HomogenousPolynomial()

template<class T , class R >
void capd::autodiff::SingularNaturalPow::evalC0HomogenousPolynomial ( const T *  left,
const T *  right,
result,
DagIndexer< T > *  dag 
)
inline

◆ evalHomogenousPolynomial()

template<class T , class R >
void capd::autodiff::SingularNaturalPow::evalHomogenousPolynomial ( const unsigned  degree,
const T *  left,
const T *  right,
result,
DagIndexer< T > *  dag,
const unsigned  coeffNo 
)