NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.solve

Library · def

Block Golub–Kahan bidiagonalization with full reorthogonalization, at the dimensions [m, n, b, q]: draw the n × b start block from the stream into the scratch block, extend the empty basis by it (block 0 of V and the start coefficients G), and run q block steps. The outputs are U (q * b * m words), V ((q + 1) * b * n), G (b * b) and the packed coefficients R and S. The scratch block has max m n * b words.

NLAlib.Krylov.GolubKahan.Band.solve {Op Tst : Type} [Ops.Has Ops.OrthOp Op]
  [Ops.Has Ops.OperatorPairOp Op] [Ops.Has Ops.SampleOp Op] (stream : ℕ) : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Alg.