chebyshev_polynomial_w(x: TensorOrScalar, n: TensorOrScalar)Chebyshev polynomial of the fourth kind, .
The W polynomials are orthogonal on with weight — the mirror image of the V family — and partner with V under the substitution .
Parameters
Returns
Tensor element-wise, broadcast over x and n.
Notes
Half-angle definition
with the recurrence
Symmetry relation: .
Examples
>>> import lucid
>>> from lucid.special import chebyshev_polynomial_w
>>> chebyshev_polynomial_w(lucid.tensor([-1.0, 0.0, 1.0]), n=2)
tensor([1., -1., 5.])