Back to Numerical Arrays (NumPy)
np.chebval
Evaluate Chebyshev polynomial using Clenshaw's algorithm.
Syntax
np.chebval(x, c)
Description
Evaluate Chebyshev polynomial using Clenshaw's algorithm.
Parameters
| Name | Description |
|---|---|
| x | - Point at which to evaluate |
| c | - Coefficient array [c0, c1, c2, ...] for c0*T_0 + c1*T_1 + c2*T_2 + ... |
Returns
number