NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.blockCols_decodeMatrix

Library · theorem

Block i of a decoded block of N columns stored as consecutive blocks of \mathbf{b} columns is the decoded block of the words from the offset i\mathbf{b}r on.

NLAlib.Krylov.GolubKahan.Band.blockCols_decodeMatrix {K : Type} [Inhabited K] (dec : K → ℝ)
  {r N b i : ℕ} (xs : List K) (h : i * b + b ≤ N) :
  blockCols b (Ops.decodeMatrix dec r N xs) i = Ops.decodeMatrix dec r b (List.drop (i * b * r) xs)

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.StoredExtension.