NLAlib.Ops.Examples.cgsRoutine
Library · def
cgs as a routine: [n, p] (A : read p n) → (Q : write p n), with R : update p p. The tree has two buffer variables for R.
The layout is written out, not generated by routine%: the routine is specified by the contract cgsRel (Spec.ofRel), which lists the written blocks as Q then R, and a routine reports its written operands in interface order. routine% puts an updated operand (R, declared on the left) before a new output (Q), which would report them as R then Q.
NLAlib.Ops.Examples.cgsRoutine {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] :
Ops.Routine Op TstImport NLAlib.Ops.Examples.CgsQR.