Trait ark_poly::polynomial::Polynomial [−][src]
Describes the common interface for univariate and multivariate polynomials
Associated Types
type Point: Sized + Clone + Ord + Debug + Sync + Hash[src]
The type of evaluation points for this polynomial.
Required methods
fn degree(&self) -> usize[src]
Returns the total degree of the polynomial
fn evaluate(&self, point: &Self::Point) -> F[src]
Evaluates self at the given point in Self::Point.
Implementors
impl<F: Field> Polynomial<F> for ark_poly::polynomial::multivariate::SparsePolynomial<F, SparseTerm>[src]
type Point = Vec<F>
fn degree(&self) -> usize[src]
Returns the total degree of the polynomial
fn evaluate(&self, point: &Vec<F>) -> F[src]
Evaluates self at the given point in Self::Point.
impl<F: Field> Polynomial<F> for DensePolynomial<F>[src]
type Point = F
fn degree(&self) -> usize[src]
Returns the total degree of the polynomial
fn evaluate(&self, point: &F) -> F[src]
Evaluates self at the given point in Self::Point.