Chebyshev polynomial of the second kind (#78293)
Adds:
```Python
chebyshev_polynomial_u(input, n, *, out=None) -> Tensor
```
Chebyshev polynomial of the second kind $U_{n}(\text{input})$.
If $n = 0$, $1$ is returned. If $n = 1$, $2 \times \text{input}$ is returned. If $n < 6$ or $|\text{input}| > 1$ the recursion:
$$T_{n + 1}(\text{input}) = 2 \times \text{input} \times T_{n}(\text{input}) - T_{n - 1}(\text{input})$$
is evaluated. Otherwise, the explicit trigonometric formula:
$$\frac{\text{sin}((n + 1) \times \text{arccos}(\text{input}))}{\text{sin}(\text{arccos}(\text{input}))}$$
is evaluated.
## Derivatives
Recommended first derivative formula with respect to $\text{input}$:
$$\frac{(-1 - n)\times U_{-1 + n}(\text{input}) + n \times \text{input} \times U_{n}(x)}{-1 + \text{input}^{2}}.$$
Recommended $k$-derivative formula with respect to $\text{n}$:
$$\frac{\text{arccos}(\text{input})^{k} \times \text{sin}(\frac{k \times \pi}{2} + (1 + n) \times \text{arccos}(\text{input}))}{\sqrt{1 - \text{input}^{2}}}.$$
## Example
```Python
x = torch.linspace(-1.0, 1.0, 256)
matplotlib.pyplot.plot(x, torch.special.chebyshev_polynomial_u(x, 10))
```
![image](https://user-images.githubusercontent.com/315821/170352780-12af63d3-ce31-4948-8b68-8ecc37c71ac5.png)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78293
Approved by: https://github.com/mruberry