NLA-lib Explorer

Weighted bounds before combining alternative operation shapes

Library · Source module

Weighted bounds before combining alternative operation shapes

A bounded query can select different matrix dimensions on different executions. Summing the weights of a pointwise count supremum charges all these shapes simultaneously. The weighted bound below takes scalar maxima after weighting each alternative, while retaining every actually executed query and every capped-loop round. It estimates resources of the existing counted evaluator; it defines no new execution semantics.

Main results

* NLAlib.Ops.stmtWeightedCost: scalar weighted resource bound for a statement tree. * NLAlib.Ops.evalCounted_weight_le: the bound applies to actual counted instructions.

Declarations