NLA-lib Explorer

NLAlib.SpectralBisection.levelGaussianMatrix_selected

Library · theorem

Pair decoding of the stored Gaussian batch returns the actual addressed component words.

NLAlib.SpectralBisection.levelGaussianMatrix_selected {K : Type} [Inhabited K] (n base : ℕ)
  (τ : Ops.Tape K) (d lo j side i : ℕ) (hcol : lo + j < n) (hside : side < 2) (hrow : i < n) :
  SpectralBisection.levelGaussianMatrix n base τ d i (2 * (lo + j) + side) =
    (τ
        (base + d * SpectralBisection.levelSampleSize n + n +
          SpectralBisection.gaussianWord n lo j side i 0)
        Ops.Stream.gauss,
      τ
        (base + d * SpectralBisection.levelSampleSize n + n +
          SpectralBisection.gaussianWord n lo j side i 1)
        Ops.Stream.gauss)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.TapeMachine.