NLA-lib Explorer

NLAlib.newtonSchulz

Library · def

The Newton–Schulz map g(\mathbf{x}) = \tfrac12 \mathbf{x}(3 - \mathbf{x}^2), Newton's method for \mathbf{x}^{-2} - 1 = 0. [Shah2024, Section 2.1]. Algorithm: newton-schulz-sign

NLAlib.newtonSchulz (x : ℝ) : ℝ

Full source on GitHub

Import NLAlib.Polynomial.Approximation.NewtonSchulz.