fn
shifted_chebyshev_polynomial_t
→Tensorshifted_chebyshev_polynomial_t(x: Tensor, n: int)Shifted Chebyshev T polynomial on .
Maps the standard Chebyshev T family from onto the unit interval via the linear substitution . Useful when the natural domain of an approximation problem is .
Parameters
xTensorArgument on the shifted domain ; any
floating-point dtype.
nintNon-negative polynomial degree.
Returns
Tensor, element-wise, same shape and
dtype as x.
Notes
Definition: . Inherits orthogonality on with weight .
Examples
>>> import lucid
>>> from lucid.special import shifted_chebyshev_polynomial_t
>>> shifted_chebyshev_polynomial_t(lucid.tensor([0.0, 0.5, 1.0]), n=2)
Tensor([1.0000, -1.0000, 1.0000])