Trait ark_poly_commit::Polynomial
source · pub trait Polynomial<F>: Sized + 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;
// Required methods
fn degree(&self) -> usize;
fn evaluate(&self, point: &Self::Point) -> F;
}
Expand description
Describes the common interface for univariate and multivariate polynomials