NLA-lib Explorer

NLAlib.eighIdealSample

Library · def

The ideal sample of a node of root size N and depth budget D, on the ideal tape \xi, at the path a: for a node of size k at slot lo of depth d < D (ko = some k), the seed at uniform position Nd + lo and the entries (i, j), i, j < k, of the test matrices at the static positions of NLAlib.eighTapeSample; every other seed and entry at a position beyond the N D uniform and 4N^2 D Gaussian draws of the program, indexed by the path, the side and the entry (Encodable.encode).

NLAlib.eighIdealSample (ξ : Computation.Dist → ℕ → ℝ) (N D d lo : ℕ) (ko : Option ℕ)
  (a : List Bool) : EighSample ℝ ℂ N

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.SpectralBisection.IdealSamples.