bundles / scipy 1.17.1 / scipy / special / _orthogonal / _newton
function
scipy.special._orthogonal:_newton
Signature
def _newton ( n , x_initial , maxit = 5 ) Summary
Newton iteration for polishing the asymptotic approximation to the zeros of the Hermite polynomials.
Parameters
n: intQuadrature order
x_initial: ndarrayInitial guesses for the roots
maxit: intMaximal number of Newton iterations. The default 5 is sufficient, usually only one or two steps are needed.
Returns
nodes: ndarrayQuadrature nodes
weights: ndarrayQuadrature weights
See also
- roots_hermite_asy
Aliases
-
scipy.special._orthogonal._newton