NLA-lib Explorer

NLAlib.Ops.Examples.Strided.getElem?_row

Library · theorem

NLAlib.Ops.Examples.Strided.getElem?_row {K : Type} [Inhabited K] (As : List K) (p t : ℕ) {n c : ℕ}
  (hc : c < n) : (Ops.Examples.Strided.row As p n t)[c]? = some (As.getD (p * c + t) default)

Full source on GitHub

Import NLAlib.Ops.Examples.Strided.