NLA-lib Explorer

NLAlib.SpectralBisection.bisectionRoutine

Library · def

Spectral bisection: [n, L, c] (A : 2 n², par : 3) → (X : 2 n², w : n), drawing (L + 1) (n + 4 n²) tape positions; c is the fuel of each traversal. The matrix and the three parameters are only read, so they may share a buffer.

NLAlib.SpectralBisection.bisectionRoutine {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.IndexOp Op] [Ops.Has Ops.SampleOp Op] [Ops.Has Ops.MatrixOp Op]
  [Ops.Has Ops.CmpTst Tst] [Ops.Has Ops.IdxTst Tst] : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Solve.