pub trait Evaluation<D: Dimension> {
    // Required methods
    fn position(&self) -> &Array<f64, D>;
    fn value(&self) -> f64;
}
Expand description

Captures the essence of a function evaluation.

Required Methods§

source

fn position(&self) -> &Array<f64, D>

Position x with the lowest corresponding value f(x).

source

fn value(&self) -> f64

The actual value f(x).

Implementors§