NLA-lib Explorer

NLAlib.Schur.schurPipelineProblem_buffers

Library · theorem

The four supplied buffers of an input, when the words have the sizes' count: the matrix words, the parameter words, uninitialized room for the accumulator and the flag.

NLAlib.Schur.schurPipelineProblem_buffers {Mch : Ops.Machine ℝ} {words : ℕ → ℝ → ℝ → List ℝ}
  {sizes : ℕ → ℝ → ℝ → Fin 6 → ℕ} {admitted : ∃ d, Schur.SchurSizes Mch sizes d}
  (hwords : ∀ (n : ℕ) (δ φ : ℝ), (words n δ φ).length = sizes n δ φ 1 + sizes n δ φ 2)
  (d : Fin 6 → ℕ) (x : (Schur.schurPipelineProblem Mch words sizes admitted).Input d) :
  (↑x).2 =
    ![List.map some (matrixWords (↑x).1.matrix), List.map some (words (d 0) (↑x).1.δ (↑x).1.φ),
      List.replicate (2 * ((d 0 + 1) * (d 0 + 1))) none, [none]]

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Certification.