Struct snarkvm_wasm::evaluations::Evaluations[][src]

pub struct Evaluations<F> where
    F: PrimeField
{ pub evaluations: Vec<F, Global>, // some fields omitted }

Stores a polynomial in evaluation form.

Fields

evaluations: Vec<F, Global>

The evaluations of a polynomial over the domain D

Implementations

impl<F> Evaluations<F> where
    F: PrimeField
[src]

pub fn from_vec_and_domain(
    evaluations: Vec<F, Global>,
    domain: EvaluationDomain<F>
) -> Evaluations<F>
[src]

Construct Self from evaluations and a domain.

pub fn interpolate_by_ref(&self) -> DensePolynomial<F>[src]

Interpolate a polynomial from a list of evaluations

pub fn interpolate(self) -> DensePolynomial<F>[src]

Interpolate a polynomial from a list of evaluations

Trait Implementations

impl<'a, 'b, F> Add<&'a Evaluations<F>> for &'b Evaluations<F> where
    F: PrimeField
[src]

type Output = Evaluations<F>

The resulting type after applying the + operator.

impl<'a, F> AddAssign<&'a Evaluations<F>> for Evaluations<F> where
    F: PrimeField
[src]

impl<F> CanonicalDeserialize for Evaluations<F> where
    F: PrimeField
[src]

impl<F> CanonicalSerialize for Evaluations<F> where
    F: PrimeField
[src]

impl<F> Clone for Evaluations<F> where
    F: Clone + PrimeField
[src]

impl<F> Debug for Evaluations<F> where
    F: Debug + PrimeField
[src]

impl<'a, 'b, F> Div<&'a Evaluations<F>> for &'b Evaluations<F> where
    F: PrimeField
[src]

type Output = Evaluations<F>

The resulting type after applying the / operator.

impl<'a, F> DivAssign<&'a Evaluations<F>> for Evaluations<F> where
    F: PrimeField
[src]

impl<F> Eq for Evaluations<F> where
    F: Eq + PrimeField
[src]

impl<F> Hash for Evaluations<F> where
    F: Hash + PrimeField
[src]

impl<F> Index<usize> for Evaluations<F> where
    F: PrimeField
[src]

type Output = F

The returned type after indexing.

impl<'a, 'b, F> Mul<&'a Evaluations<F>> for &'b Evaluations<F> where
    F: PrimeField
[src]

type Output = Evaluations<F>

The resulting type after applying the * operator.

impl<'a, F> MulAssign<&'a Evaluations<F>> for Evaluations<F> where
    F: PrimeField
[src]

impl<F> PartialEq<Evaluations<F>> for Evaluations<F> where
    F: PartialEq<F> + PrimeField
[src]

impl<F> StructuralEq for Evaluations<F> where
    F: PrimeField
[src]

impl<F> StructuralPartialEq for Evaluations<F> where
    F: PrimeField
[src]

impl<'a, 'b, F> Sub<&'a Evaluations<F>> for &'b Evaluations<F> where
    F: PrimeField
[src]

type Output = Evaluations<F>

The resulting type after applying the - operator.

impl<'a, F> SubAssign<&'a Evaluations<F>> for Evaluations<F> where
    F: PrimeField
[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Evaluations<F> where
    F: RefUnwindSafe

impl<F> Send for Evaluations<F>

impl<F> Sync for Evaluations<F>

impl<F> Unpin for Evaluations<F> where
    F: Unpin

impl<F> UnwindSafe for Evaluations<F> where
    F: UnwindSafe

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,