|
sigma
1.0.0
|
Exponent operations for Taylor polynomials. More...
Go to the source code of this file.
Namespaces | |
| namespace | sigma |
| The primary namespace for the sigma library. | |
Functions | |
| template<typename T> | |
| Taylor< T > | sigma::sqrt (const Taylor< T > &a) |
| Calculate the square root of a Taylor polynomial. | |
| template<typename T> | |
| Taylor< T > | sigma::exp (const Taylor< T > &a) |
| Calculate the exponential of a Taylor polynomial. | |
| template<typename T> | |
| Taylor< T > | sigma::log (const Taylor< T > &a) |
| Calculate the natural logarithm of a Taylor polynomial. | |
| template<typename T, typename U> | |
| Taylor< T > | sigma::pow (const Taylor< T > &a, const U &exp) |
| Calculate the power of a Taylor polynomial. | |
Exponent operations for Taylor polynomials.
Each function here composes the outer function's Taylor series about constant() with *this via Taylor::compose_ (see docs/taylor.md's "Elementary functions" section). Because Taylor alone carries no remainder, the composition is exact only for a polynomial argument – it makes no claim to enclose the true value of the elementary function, just as Taylor's own arithmetic makes no such claim (see taylor.hpp). The rigorous version of each of these lives on TaylorModel, which pairs the same composition with a Lagrange remainder bound.