NLA-lib Explorer

NLAlib.SpectralBisection.StoresResult.matrix_read

Library · theorem

Read the actual packed basis of a represented mathematical result.

NLAlib.SpectralBisection.StoresResult.matrix_read {K : Type} {k n d lo : ℕ} {u e : ℕ × ℕ}
  {result : Matrix (Fin k) (Fin k) (K × K) × (Fin k → K)} {s : Ops.Store K}
  (h : SpectralBisection.StoresResult n d lo u e result s) :
  s.readBlock u.1 (u.2 + 2 * (n * n) * d + 2 * n * lo) (2 * (k * k)) =
    some ((Ops.EntryCodec.pair K).packFinMatrix result.1)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Result.