You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chebyshev polynomials of the first kind $T_n(x)$ can be implemented super easily using their trigonometric definition and as a result can be extended to complex values of n and x.
For values of $|x|\leq 1$ $T_n(x)=\cos(n\arccos(x))$
and for $|x| \geq 1$ $T_n(x)=\frac{1}{2}((x-\sqrt{x^2-1})^n+(x+\sqrt{x^2-1})^n)$
This is ridiculously easy to implement in math.js. The function name could be ChebyshevT just like that of Wolfram Mathematica
The text was updated successfully, but these errors were encountered:
Chebyshev polynomials of the first kind$T_n(x)$ can be implemented super easily using their trigonometric definition and as a result can be extended to complex values of n and x.
$|x|\leq 1$
$T_n(x)=\cos(n\arccos(x))$
$|x| \geq 1$
$T_n(x)=\frac{1}{2}((x-\sqrt{x^2-1})^n+(x+\sqrt{x^2-1})^n)$
For values of
and for
This is ridiculously easy to implement in math.js. The function name could be ChebyshevT just like that of Wolfram Mathematica
The text was updated successfully, but these errors were encountered: