NLA-lib Explorer

NLAlib.MGS.sweepRoutine

Library · def

The sweep: [n, k] (Q : k * n, v : n) → (v, unreported r : 1). The tree has one buffer variable per operand, and its operands are separated by block, so the columns of Q and the vector v may lie in one buffer. The final content of the scratch cell r is not part of the claim.

NLAlib.MGS.sweepRoutine {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] :
  Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Matrix.Factorizations.MGS.Alg.