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.
pub trait Evaluate<T, U> {
// Required method
fn evaluate(&self, value: T) -> U;
}Is implemented by polynomials to evaluate them for a certain input.