NLA-lib Explorer

NLAlib.Ops.extendRelOf

Library ยท def

The contract of a basis extension for the predicate P on the decoded matrices, at the dimensions [n, k, b]: the call reads the basis (k * n words) and the block (b * n words), and writes the new block (b * n words), b * n unspecified words over the block, and the coefficients ((k + b) * b words), with P of the decoded basis, input block, new block and coefficients. It succeeds at the dimensions admitted by ok.

NLAlib.Ops.extendRelOf {K ๐•œ : Type} [Inhabited K] (dec : K โ†’ ๐•œ) (ok : โ„• โ†’ โ„• โ†’ โ„• โ†’ Prop)
  (P : Ops.ExtendPred ๐•œ) : Ops.BlockRel K

Full source on GitHub

Import NLAlib.Ops.Catalog.Orth.