NLA-lib Explorer

NLAlib.Krylov.Lanczos.initializeState

Library · def

Initialize the shared output prefix and any extra coefficient suffix. Borrowed storage is B,V,C,Prev,t; the coefficient length is an explicit dimension so reorthogonalization can add ν. No work-vector buffer is needed during initialization.

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

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Alg.