bundles / scipy latest / scipy / special / _orthogonal / _newton
function
scipy.special._orthogonal:_newton
source: build-install/usr/lib/python3.14/site-packages/scipy/special/_orthogonal.py:1540
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