Rate this Page

Function torch::special::shifted_chebyshev_polynomial_v(const Tensor&, const Tensor&)#

Function Documentation#

inline Tensor torch::special::shifted_chebyshev_polynomial_v(const Tensor &x, const Tensor &n)#

Shifted Chebyshev polynomial of the third kind.

See https://pytorch.org/docs/main/special.html#torch.special.shifted_chebyshev_polynomial_v.

Example:

auto x = torch::randn(128, dtype=kDouble);
auto n = torch::randn(128, dtype=kDouble);

torch::special::shifted_chebyshev_polynomial_v(x, n);