[][src]Struct bellperson::domain::EvaluationDomain

pub struct EvaluationDomain<E: Engine, G: Group<E>> { /* fields omitted */ }

Methods

impl<E: Engine, G: Group<E>> EvaluationDomain<E, G>[src]

pub fn as_ref(&self) -> &[G][src]

pub fn as_mut(&mut self) -> &mut [G][src]

pub fn into_coeffs(self) -> Vec<G>[src]

pub fn from_coeffs(
    coeffs: Vec<G>
) -> Result<EvaluationDomain<E, G>, SynthesisError>
[src]

pub fn fft(&mut self, worker: &Worker)[src]

pub fn ifft(&mut self, worker: &Worker)[src]

pub fn distribute_powers(&mut self, worker: &Worker, g: E::Fr)[src]

pub fn coset_fft(&mut self, worker: &Worker)[src]

pub fn icoset_fft(&mut self, worker: &Worker)[src]

pub fn z(&self, tau: &E::Fr) -> E::Fr[src]

This evaluates t(tau) for this domain, which is tau^m - 1 for these radix-2 domains.

pub fn divide_by_z_on_coset(&mut self, worker: &Worker)[src]

The target polynomial is the zero polynomial in our evaluation domain, so we must perform division over a coset.

pub fn mul_assign(
    &mut self,
    worker: &Worker,
    other: &EvaluationDomain<E, Scalar<E>>
)
[src]

Perform O(n) multiplication of two polynomials in the domain.

pub fn sub_assign(&mut self, worker: &Worker, other: &EvaluationDomain<E, G>)[src]

Perform O(n) subtraction of one polynomial from another in the domain.

Auto Trait Implementations

impl<E, G> Send for EvaluationDomain<E, G> where
    <E as ScalarEngine>::Fr: Send

impl<E, G> Sync for EvaluationDomain<E, G> where
    <E as ScalarEngine>::Fr: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]