Stored state of the capped Newton–Schulz iteration
Library · Source module
Stored state of the capped Newton–Schulz iteration
The loop's mathematical state is its current matrix. The stored representation additionally contains the square cached by the stopping test and the actual threshold/flag words. No condition asserts that the test passes, that a rounded step is accurate, or that the program succeeds. Those facts are proved separately from the input and operation model.
Main results
* NLAlib.Sign.LoopState represents the mathematical iterate in the actual word store. * NLAlib.Sign.LoopState.flag_ne_one identifies the inactive flag under distinct zero/one decodings.