Versions in this module Expand all Collapse all v1 v1.1.0 Aug 20, 2024 Changes in this version + var ErrPolynomialMismatchedSizeDomain = errors.New("domain size does not equal the number of evaluations in the polynomial") + func BitReverseInt(k, bitsize uint64) uint64 + func BitReverse[K interface{}](list []K) + type CosetDomain struct + func NewCosetDomain(domain *Domain, fft_coset FFTCoset) *CosetDomain + func (d *CosetDomain) CosetFFtFr(values []fr.Element) []fr.Element + func (d *CosetDomain) CosetIFFtFr(values []fr.Element) []fr.Element + type Domain struct + Cardinality uint64 + CardinalityInv fr.Element + Generator fr.Element + GeneratorInv fr.Element + PreComputedInverses []fr.Element + Roots []fr.Element + func NewDomain(x uint64) *Domain + func (d *Domain) FftFr(values []fr.Element) []fr.Element + func (d *Domain) IfftFr(values []fr.Element) []fr.Element + func (domain *Domain) EvaluateLagrangePolynomial(poly []fr.Element, evalPoint fr.Element) (*fr.Element, error) + func (domain *Domain) EvaluateLagrangePolynomialWithIndex(poly []fr.Element, evalPoint fr.Element) (*fr.Element, int64, error) + func (domain *Domain) FftG1(values []bls12381.G1Affine) []bls12381.G1Affine + func (domain *Domain) FindRootIndex(point fr.Element) int64 + func (domain *Domain) IfftG1(values []bls12381.G1Affine) []bls12381.G1Affine + func (domain *Domain) ReverseRoots() + type FFTCoset struct + CosetGen fr.Element + InvCosetGen fr.Element