NLA-lib Explorer

NLAlib.Ops.matrixMulFn

Library · def

A matrix multiplication routine lifted to ordinary operand blocks. Inputs may alias the output: the operation reads both complete inputs before writing its result.

NLAlib.Ops.matrixMulFn {K E : Type} [Inhabited K] (C : Ops.EntryCodec K E)
  (mm :
    {l m n : ℕ} → Matrix (Fin l) (Fin m) E → Matrix (Fin m) (Fin n) E → Matrix (Fin l) (Fin n) E) :
  Ops.BlockFn K

Full source on GitHub

Import NLAlib.Ops.Catalog.Matrix.