NLA-lib Explorer

NLAlib.Krylov.Lanczos.normalizeRoutine

Library · def

Guarded normalization as a routine: the vector w and its squared norm s are read, the next vector q and the coupling coefficient b updated in place.

NLAlib.Krylov.Lanczos.normalizeRoutine {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.CmpTst Tst] : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Normalization.