Spectral bisection as a routine
Library · Source module
Spectral bisection as a routine
NLAlib.SpectralBisection.bisectionRoutine is [n, L, c] (A : 2 n², par : 3) → (X : 2 n², w : n), drawing (L + 1) (n + 4 n²) tape positions. It allocates its eleven arenas, executes the checked traversal, copies the root result and releases all arenas. It reads two streams, uniform and Gaussian, at the shared position; its specification names both relative to the position of the call, through the mathematical machine NLAlib.SpectralBisection.tapeMachine at base zero. All inputs are ordinary stored words; scratch contains no supplied numerical data. Numerical accuracy is separate.
Main definitions
* NLAlib.SpectralBisection.bisectionRoutine, NLAlib.SpectralBisection.bisectionSpec.
Main results
* NLAlib.SpectralBisection.tapeMachine_shift: the machine of a tape seen from a position. * NLAlib.SpectralBisection.bisectionRoutine_meets: the routine meets its specification.