{ } Raw JSON

bundles / scipy 1.17.1 / scipy / special / _orthogonal / _newton

function

scipy.special._orthogonal:_newton

source: /scipy/special/_orthogonal.py :1184

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 : int

Quadrature order

x_initial : ndarray

Initial guesses for the roots

maxit : int

Maximal number of Newton iterations. The default 5 is sufficient, usually only one or two steps are needed.

Returns

nodes : ndarray

Quadrature nodes

weights : ndarray

Quadrature weights

See also

roots_hermite_asy

Aliases

  • scipy.special._orthogonal._newton