NLA-lib Explorer

NLAlib.Sign.step

Library · def

One rounded Hermitian Newton–Schulz step, reusing the square left by the stopping test. The literal three is subtracted from the square, the difference is negated, and the product with the current iterate is added to its conjugate transpose and divided by the literal four. The matrix and scalar workspace regions must be pairwise disjoint.

NLAlib.Sign.step {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (mm : Op) : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Eigensolvers.Sign.Alg.