NLA-lib Explorer

NLAlib.CGS2.vec_take

Library · theorem

An entry of a prefix of a list is the entry of the list.

NLAlib.CGS2.vec_take {K : Type} [Inhabited K] {xs : List K} {L x : ℕ} (h : x < L) :
  Ops.vec (List.take L xs) x = Ops.vec xs x

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendDecode.