NLA-lib Explorer

NLAlib.SmallEig.smallEigProblem_buffers

Library · theorem

The three supplied buffers of an input: the matrix words, the parameter words and uninitialized room for the 2(n + 1)^2 words of the accumulator.

NLAlib.SmallEig.smallEigProblem_buffers {Mch : Ops.Machine ℝ} {nmax : ℕ} {c₁ c₂ : PolyLogTail}
  {admitted : ∃ d, SmallEig.SmallEigSizes Mch nmax c₁ c₂ d} (d : Fin 3 → ℕ)
  (x : (SmallEig.smallEigProblem Mch nmax c₁ c₂ admitted).Input d) :
  (↑x).2 =
    ![List.map some (matrixWords (↑x).1.matrix),
      List.map some (SmallEig.smallEigParams nmax (↑x).1.S (↑x).1.δ (↑x).1.φ c₁ c₂),
      List.replicate (2 * ((d 0 + 1) * (d 0 + 1))) none]

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Certification.