NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.coefOffsetS_succ

Library · theorem

Block column j + 1 of the packed coefficients of the right basis starts where block column j, of ((j+1)\mathbf{b} + \mathbf{b})\mathbf{b} words, ends.

NLAlib.Krylov.GolubKahan.Band.coefOffsetS_succ (b j : ℕ) :
  Krylov.GolubKahan.Band.coefOffsetS b (j + 1) =
    Krylov.GolubKahan.Band.coefOffsetS b j + ((j + 1) * b + b) * b

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Alg.