Trait ark_poly::polynomial::Polynomial
source · pub trait Polynomial<F: Field>: Sized + Clone + Debug + Hash + PartialEq + Eq + Add + Neg + Zero + CanonicalSerialize + CanonicalDeserialize + for<'a> AddAssign<&'a Self> + for<'a> AddAssign<(F, &'a Self)> + for<'a> SubAssign<&'a Self> {
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