Subproduct-Tree Batch Evaluation #
Executable subproduct-tree construction and descent for univariate batch evaluation.
A subproduct tree stores the product polynomial at every node.
- leaf
{R : Type u_2}
[Zero R]
(x : R)
(poly : CPolynomial R)
: SubproductTree R
A leaf for one evaluation point. The polynomial is
X - C x. - node
{R : Type u_2}
[Zero R]
(poly : CPolynomial R)
(left right : SubproductTree R)
: SubproductTree R
An internal node stores the product of its children.
Instances For
The product polynomial stored at the root of a subproduct tree.
Instances For
Build a leaf for one evaluation point.
Instances For
Combine two neighboring trees using the selected multiplication backend.
Instances For
Pair adjacent trees into the next subproduct-tree level.
Instances For
Repeatedly combine tree levels, bounded by fuel for straightforward termination.
Instances For
Build a subproduct tree from an ordered list of evaluation points.
Instances For
Build a subproduct tree from an ordered array of evaluation points.
Instances For
Descend a subproduct tree with remainders and return values in leaf order.
Instances For
Evaluate a polynomial at many points using a subproduct tree.