NLA-lib Explorer

NLAlib.Ops.Examples.cgs

Library · def

Classical Gram–Schmidt. Two inputs A, R and two outputs Q, R: the upper triangle of R is written, the rest of R is kept. Index variables: n, p, the offsets of A, R, Q, R, then the column index; buffer variables: A, R, Q, R, the scratch cell, the work vector.

NLAlib.Ops.Examples.cgs {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] :
  Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Examples.CgsQR.