NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.assembleCoef

Library ยท def

The global coefficient matrix of packed block columns. Block column j of the packed coefficients is a matrix \mathbf{C}_j with p_j \mathbf{b} + \mathbf{b} rows and \mathbf{b} columns. The assembled matrix with \mathbf{M} rows and N columns has, in its column d = j\mathbf{b} + c with c < \mathbf{b}, the column c of \mathbf{C}_j in its first p_j \mathbf{b} + \mathbf{b} rows and zero below.

NLAlib.Krylov.GolubKahan.Band.assembleCoef {๐•œ : Type} [RCLike ๐•œ] {p : โ„• โ†’ โ„•} (b : โ„•)
  (C : (j : โ„•) โ†’ Matrix (Fin (p j * b + b)) (Fin b) ๐•œ) {M N : โ„•} : Matrix (Fin M) (Fin N) ๐•œ

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Run.