NLA-lib Explorer

NLAlib.SpectralBisection.blocks_inputs

Library · theorem

The blocks the routine reads at an input: the packed matrix and the three parameters.

NLAlib.SpectralBisection.blocks_inputs {K : Type} [Inhabited K] {domain : (Fin 3 → ℕ) → Prop}
  {admitted : ∃ d, domain d} (d : Fin 3 → ℕ)
  (x : (SpectralBisection.problem domain admitted).Input d) :
  (SpectralBisection.inputs domain admitted).blocks d (↑x).1 =
    [(Ops.EntryCodec.pair K).packFinMatrix (SpectralBisection.inputMatrix d x),
      [(↑x).1.2 0, (↑x).1.2 1, (↑x).1.2 2]]

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Resources.