NLA-lib Explorer

NLAlib.eighAux

Library · def

Randomized spectral bisection with recursion budget f on the machine M: unfold NLAlib.eighStep at the root with the sample s [], recurse on the children with the machine-computed next window and tolerance (NLAlib.eighNextParams), depth counter \ell + 1 and the samples of their subtrees, and assemble [\mathrm{mm}(\mathbf{Q}_+, \mathbf{U}_+)\ \mathrm{mm}(\mathbf{Q}_-, \mathbf{U}_-)] with the rounded shifted eigenvalues. Junk value (stored identity and zeros) when the budget is spent. [Shah2024, Algorithm 3]. Algorithm: spectral-bisection

NLAlib.eighAux.{u_1, u_2, u_3} {F : Type u_1} {Su : Type u_2} {Sg : Type u_3} [Inhabited Sg]
  (M : FloatMachine F Su Sg) (N signFuel : ℕ) (R₀ β : F) :
  ℕ →
    {k : ℕ} →
      Matrix (Fin k) (Fin k) (F × F) →
        F → F → ℕ → (List Bool → EighSample Su Sg N) → Matrix (Fin k) (Fin k) (F × F) × (Fin k → F)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.SpectralBisection.