Skip to main content

eval_chebyshev_t

Function eval_chebyshev_t 

Source
pub fn eval_chebyshev_t<N, Z: ChebyshevArg<N>>(n: N, z: Z) -> Z
Expand description

Evaluate Chebyshev polynomial of the first kind $T_n$ at a point.

This is a pure rust implementation equivalent to scipy.special.eval_chebyt.

§Definition

The Chebyshev polynomials of the first kind can be defined via Gauss’ hypergeometric function, $_2F_1$, as

$$ T_n(z) = \hyp{2}{1}{-n,\enspace n}{1 \over 2}{-{z-1 \over 2}} $$

When $n$ is an integer the result is an orthogonal polynomial of degree $\abs n$. See Abramowitz & Stegun (1972) eq. 22.5.47 1 for details.

§See also

  • eval_chebyshev_u: Evaluate Chebyshev polynomials of the second kind, $U_n$
  • hyp2f1: Gauss’ hypergeometric function, $_2F_1$

  1. Milton Abramowitz and Irene A. Stegun, eds. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Dover, 1972. ↩