package
Version:
v0.0.0-...-89ef835
Opens a new window with list of versions in this module.
Published: Mar 3, 2021
License: ISC
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type BatchPoly struct {
}
Representation of a polynomia.
Evaluate the polynomial many times using faster a multi-point evaluation
algorithm.
Evaluate the polynomial at a specified point x.
Precomputated data for interpolating or evaluating
a polynomial in a field defined by modulus mod.
Precompute values for interpolating/evaluating a polynomial
at the specified x coordinates.
Interpolate through the y coordinates given, using the pre-specified
x-coordinates.
Precompute data necessary to interpolate through fixed
points (specified by batchPre) and evaluate at a point x.
When we need to interpolate a polynomial through points
(x1, y1), (x2, y2), (x3, y3), ...
and the x's are fixed AND we later want to evaluate this
polynomial at a fixed point x*, you want this data struct.
Run the combined interpolation and evaluation routine.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.