bundles / scipy latest / scipy / special / _orthogonal / roots_sh_chebyu
function
scipy.special._orthogonal:roots_sh_chebyu
Signature
def roots_sh_chebyu ( n , mu = False ) Summary
Gauss-Chebyshev (second kind, shifted) quadrature.
Extended Summary
Computes the sample points and weights for Gauss-Chebyshev quadrature. The sample points are the roots of the nth degree shifted Chebyshev polynomial of the second kind, . These sample points and weights correctly integrate polynomials of degree or less over the interval with weight function . See 22.2.9 in [AS] for more details.
Parameters
n: intquadrature order
mu: bool, optionalIf True, return the sum of the weights, optional.
Returns
x: ndarraySample points
w: ndarrayWeights
mu: floatSum of the weights
See also
Aliases
-
scipy.special.roots_sh_chebyu