Antkeeper  0.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
math::polynomial::chebyshev Namespace Reference

Chebychev polynomials. More...

Functions

template<class InputIt , class T >
evaluate (InputIt first, InputIt last, T x)
 Evaluates a Chebyshev polynomial. More...
 
template<class InputIt , class T >
evaluate (InputIt first, InputIt last, T min, T max, T x)
 Evaluates a Chebyshev polynomial. More...
 

Detailed Description

Chebychev polynomials.

See also
https://en.wikipedia.org/wiki/Chebyshev_polynomials

Function Documentation

◆ evaluate() [1/2]

template<class InputIt , class T >
T math::polynomial::chebyshev::evaluate ( InputIt  first,
InputIt  last,
min,
max,
x 
)

Evaluates a Chebyshev polynomial.

Parameters
first,lastRange of Chebychev polynomial coefficients.
min,maxDomain of the approximated function.
xValue on the interval [min, max].
Returns
Evaluated value.

Definition at line 96 of file polynomial.hpp.

◆ evaluate() [2/2]

template<class InputIt , class T >
T math::polynomial::chebyshev::evaluate ( InputIt  first,
InputIt  last,
x 
)

Evaluates a Chebyshev polynomial.

Parameters
[in]first,lastRange of Chebychev polynomial coefficients.
[in]xValue on the interval [-1, 1].
Returns
Evaluated value.

Definition at line 66 of file polynomial.hpp.