pub trait ExtendedEvaluations<F: FftField> {
    // Required methods
    fn scale(&self, elm: F) -> Self;
    fn square(&self) -> Self;
    fn pow(&self, pow: usize) -> Self;
    fn shift(&self, len: usize) -> Self;
}
Expand description

An extension for the [Evaluations] type.

Required Methods§

source

fn scale(&self, elm: F) -> Self

This function “scales” (multiplies) a polynomial with a scalar It is implemented to have the desired functionality for DensePolynomial

source

fn square(&self) -> Self

Square each evaluation

source

fn pow(&self, pow: usize) -> Self

Raise each evaluation to some power pow

source

fn shift(&self, len: usize) -> Self

Utility function for shifting poly along domain coordinate

Implementations on Foreign Types§

source§

impl<F: FftField> ExtendedEvaluations<F> for Evaluations<F, Radix2EvaluationDomain<F>>

source§

fn scale(&self, elm: F) -> Self

source§

fn square(&self) -> Self

source§

fn pow(&self, pow: usize) -> Self

source§

fn shift(&self, len: usize) -> Self

Implementors§