Trait ark_poly_commit::Polynomial[][src]

pub trait Polynomial<F>: Clone + Debug + Hash + PartialEq<Self> + Eq + Add<Self> + Neg + Zero + CanonicalSerialize + CanonicalDeserialize + for<'a> AddAssign<&'a Self> + for<'a> AddAssign<(F, &'a Self)> + for<'a> SubAssign<&'a Self> where
    F: Field
{ type Point: Sized + Clone + Ord + Debug + Sync + Hash; fn degree(&self) -> usize;
fn evaluate(&self, point: &Self::Point) -> F; }
Expand description

Describes the common interface for univariate and multivariate polynomials

Associated Types

The type of evaluation points for this polynomial.

Required methods

Returns the total degree of the polynomial

Evaluates self at the given point in Self::Point.

Implementations on Foreign Types

Returns the total degree of the polynomial

Evaluates self at the given point in Self::Point.

Returns the degree of the polynomial.

Evaluates self at the given point in the field.

Returns the total degree of the polynomial

Evaluates self at the given point in Self::Point.

Implementors