pub fn roots_sh_chebyshev_t(n: usize) -> (Vec<f64>, Vec<f64>)Expand description
Gauss-Chebyshev (first kind, shifted) quadrature
Corresponds to scipy.special.roots_sh_chebyt.
The nodes are the roots of $T_n^*(x) = T_n(2x - 1)$, and the rule is exact for polynomials of degree $2n - 1$ with the weight function $1 / \sqrt{x - x^2}$ on $[0, 1]$ (A&S 22.2.8).
§Panics
- if
nis zero
§See also
eval_sh_chebyshev_t: Evaluate $T_n^*$