NLA-lib Explorer

NLAlib.SpectralBisection.gaussianPosition_gaussianWord

Library · theorem

Reindexing the ideal complex Gaussian position gives exactly the scalar component address used by deflation in the actual shared-position schedule.

NLAlib.SpectralBisection.gaussianPosition_gaussianWord (n d lo j side i component : ℕ)
  (hcol : lo + j < n) (hside : side < 2) (hrow : i < n) (hcomponent : component < 2) :
  SpectralBisection.gaussianPosition n
      (2 * (2 * (n * n) * d + n * (2 * (lo + j) + side) + i) + component) =
    d * SpectralBisection.levelSampleSize n + n +
      SpectralBisection.gaussianWord n lo j side i component

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Samples.