pub trait Function1D {
    fn evaluate(&self, x: f64) -> f64;
}
Expand description

General Information

Every struct defined to behave like a function must have a way to be evaluated. In one dimention, all it takes is to obtain a value x and return another value y.

Functions

  • evaluate(...) - Evaluation of a 1D function.

Required Methods§

Evaluation of a 1D function.

Implementors§