NLA-lib Explorer

Spectral bisection node programs

Library · Source module

Spectral bisection node programs

Deflation and compression are ordinary subprograms, expanded by frames into scalar operations and multiplication/QR calls. Node sizes and split metadata are stored by dimension-literal operations and read by bounded index queries. Samples are visible stored inputs drawn by the level traversal. No primitive computes a bisection node or supplies its numerical conclusion.

The constants buffer contains one, two, one half, negative one and square root of one half, in that order. They are computed by the outer program. Matrix arenas use word offset 2 * n * n * d + 2 * n * lo at depth d and slot lo.

Main results

* NLAlib.SpectralBisection.deflate executes sampled projection, QR and basis selection. * NLAlib.SpectralBisection.compress executes a Hermitian compression and shift. * NLAlib.SpectralBisection.split constructs both children and their stored metadata. * NLAlib.SpectralBisection.node executes one nonleaf node of the downward traversal.

Declarations