fn
chebyshev_polynomial_v
→Tensorchebyshev_polynomial_v(x: Tensor, n: int)Chebyshev polynomial of the third kind, .
The V polynomials are orthogonal on with weight and arise in problems with one Dirichlet and one Neumann boundary condition along the interval.
Parameters
xTensorArgument tensor; any floating-point dtype.
nintNon-negative polynomial degree.
Returns
Tensor element-wise, same shape and dtype as x.
Notes
Half-angle definition
with the recurrence
Raises ValueError for n < 0.
Examples
>>> import lucid
>>> from lucid.special import chebyshev_polynomial_v
>>> chebyshev_polynomial_v(lucid.tensor([-1.0, 0.0, 1.0]), n=2)
Tensor([-3.0000, -1.0000, 1.0000])