[][src]Struct dusk_plonk::fft::Evaluations

pub struct Evaluations {
    pub evals: Vec<Scalar>,
    // some fields omitted
}

Stores a polynomial in evaluation form.

Fields

evals: Vec<Scalar>

The evaluations of a polynomial over the domain D

Implementations

impl Evaluations[src]

pub fn from_vec_and_domain(evals: Vec<Scalar>, domain: EvaluationDomain) -> Self[src]

Construct Self from evaluations and a domain.

pub fn interpolate_by_ref(&self) -> Polynomial[src]

Interpolate a polynomial from a list of evaluations

pub fn interpolate(self) -> Polynomial[src]

Interpolate a polynomial from a list of evaluations

Trait Implementations

impl<'a, 'b> Add<&'a Evaluations> for &'b Evaluations[src]

type Output = Evaluations

The resulting type after applying the + operator.

impl<'a> AddAssign<&'a Evaluations> for Evaluations[src]

impl Clone for Evaluations[src]

impl Debug for Evaluations[src]

impl<'a> DivAssign<&'a Evaluations> for Evaluations[src]

impl Eq for Evaluations[src]

impl Index<usize> for Evaluations[src]

type Output = Scalar

The returned type after indexing.

impl<'a, 'b> Mul<&'a Evaluations> for &'b Evaluations[src]

type Output = Evaluations

The resulting type after applying the * operator.

impl<'a> MulAssign<&'a Evaluations> for Evaluations[src]

impl PartialEq<Evaluations> for Evaluations[src]

impl StructuralEq for Evaluations[src]

impl StructuralPartialEq for Evaluations[src]

impl<'a, 'b> Sub<&'a Evaluations> for &'b Evaluations[src]

type Output = Evaluations

The resulting type after applying the - operator.

impl<'a> SubAssign<&'a Evaluations> for Evaluations[src]

Auto Trait Implementations

impl RefUnwindSafe for Evaluations

impl Send for Evaluations

impl Sync for Evaluations

impl Unpin for Evaluations

impl UnwindSafe for Evaluations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,