fn
shifted_chebyshev_polynomial_u
→Tensorshifted_chebyshev_polynomial_u(x: Tensor, n: int)Shifted Chebyshev U polynomial on .
Standard Chebyshev U polynomials shifted from onto the unit interval by .
Parameters
xTensorArgument on ; any floating-point dtype.
nintNon-negative polynomial degree.
Returns
Tensor, element-wise.
Notes
. Orthogonal on with weight .
Examples
>>> import lucid
>>> from lucid.special import shifted_chebyshev_polynomial_u
>>> shifted_chebyshev_polynomial_u(lucid.tensor([0.0, 0.5, 1.0]), n=2)
Tensor([1.0000, -1.0000, 1.0000])