|
|
◆ WChebt()
| Function WChebt |
( |
N As |
Long, |
|
|
X As |
Double |
|
) |
| |
Chebyshev polynomial of first kind Tn(x)
- Purpose
- This function computes the Chebyshev polynomial of the first kind Tn(x).
Tn(x) = cos(nt), where x = cos(t)
This polynomial follows the recurrence formula: Tn+1(x) = 2xTn(x) - Tn-1(x), where T0(x) = 1 and T1(x) = x (n > 0)
- Returns
- Chebyshev polynomial of first kind Tn(x).
- Parameters
-
| [in] | N | Argument n. (N >= 0) |
| [in] | X | Argument x. |
- Reference
- boost/math/special_functions
|