Evaluate

Trait Evaluate 

Source
pub trait Evaluate<T, U> {
    // Required method
    fn evaluate(&self, value: T) -> U;
}
Expand description

Is implemented by polynomials to evaluate them for a certain input.

Required Methods§

Source

fn evaluate(&self, value: T) -> U

Evaluates the object, e.g. polynomial or a matrix of polynomials, for a given input value.

Parameters:

  • value: the value with which to evaluate the object.

Returns the evaluation of the object.

Implementors§

Source§

impl Evaluate<&Zq, Zq> for PolyOverZq

Source§

impl Evaluate<Zq, Zq> for PolyOverZq

Source§

impl<Integer: Into<Z>> Evaluate<Integer, MatZ> for MatPolyOverZ

Source§

impl<Integer: Into<Z>> Evaluate<Integer, Z> for PolyOverZ

Source§

impl<Integer: Into<Z>> Evaluate<Integer, Zq> for PolyOverZq

Source§

impl<Rational: Into<Q>> Evaluate<Rational, Q> for PolyOverZ

Source§

impl<Rational: Into<Q>> Evaluate<Rational, Q> for PolyOverQ