NLAlib.HutchPlusPlus.Certification.countedAlgorithm
Library ยท def
Uniform model Work: closed
The certificate with explicit work: when every operation counts one, the work and the span of the run are at most operationCount. The program, the output and the memory are those of algorithm.
NLAlib.HutchPlusPlus.Certification.countedAlgorithm {๐ : Type} [RCLike ๐] (dataLength : โ โ โ โ โ)
(matrix : (m n : โ) โ List ๐ โ Matrix (Fin m) (Fin n) ๐)
(workspace : Ops.ExactLinear.Operation โ List โ โ โ) (w : โ)
(hW : โ (o : Ops.ExactLinear.Operation) (d : List โ), workspace o d โค w) (stream : โ) :
Ops.Algorithm
(Ops.ExactLinear.model (HutchPlusPlus.Certification.problem dataLength) dataLength matrix
(fun x x_1 โฆ 1) workspace)
(have __src :=
HutchPlusPlus.Certification.specification dataLength matrix (fun x x_1 โฆ 1) workspace w
stream;
{ budget := __src.budget, scratch := __src.scratch,
work := HutchPlusPlus.Certification.operationCount,
span := HutchPlusPlus.Certification.operationCount, memory := __src.memory,
good := __src.good })Import NLAlib.Estimation.Trace.HutchPlusPlus.Certification.