Function torch::special::shifted_chebyshev_polynomial_t(const Tensor&, const Tensor&)¶
Defined in File special.h
Function Documentation¶
-
inline Tensor torch::special::shifted_chebyshev_polynomial_t(const Tensor &x, const Tensor &n)¶
Shifted Chebyshev polynomial of the first kind.
See https://pytorch.org/docs/main/special.html#torch.special.shifted_chebyshev_polynomial_t.
Example:
auto x = torch::randn(128, dtype=kDouble); auto n = torch::randn(128, dtype=kDouble); torch::special::shifted_chebyshev_polynomial_t(x, n);