NLA-lib Explorer

NLAlib.Ops.Store.HoldsMat.col

Library · theorem

A column of a matrix is a vector.

NLAlib.Ops.Store.HoldsMat.col {K : Type} {s : Ops.Store K} {L : Ops.MatLayout} {A : ℕ → ℕ → K}
  (h : s.HoldsMat L A) {j : ℕ} (hj : j < L.cols) :
  s.HoldsVec L.buf (L.off + j * L.ld) L.rows fun i ↦ A i j

Full source on GitHub

Import NLAlib.Ops.Logic.Layout.