NLA-lib Explorer

NLAlib.SpectralBisection.stmtPeak_compress_zero

Library · theorem

Compression holds two rectangular and two square pair matrices simultaneously. This counts the actual allocation syntax and excludes primitive multiplication workspace.

NLAlib.SpectralBisection.stmtPeak_compress_zero {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.MatrixOp Op] (k r : ℕ) (offs : List ℕ) :
  Ops.stmtPeak (fun x x_1 ↦ 0) SpectralBisection.compress ([k, r] ++ offs) =
    4 * (k * r) + 4 * (r * r)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Workspace.