Rate this Page

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

Function Documentation#

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

Shifted Chebyshev polynomial of the fourth kind.

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

Example:

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

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