Trait parry3d::utils::IntervalFunction

source ·
pub trait IntervalFunction<T> {
    // Required methods
    fn eval(&self, t: T) -> T;
    fn eval_interval(&self, t: Interval<T>) -> Interval<T>;
    fn eval_interval_gradient(&self, t: Interval<T>) -> Interval<T>;
}
Expand description

A derivable valued function which can be bounded on intervals.

Required Methods§

source

fn eval(&self, t: T) -> T

Evaluate the function at t.

source

fn eval_interval(&self, t: Interval<T>) -> Interval<T>

Bounds all the values of this function on the interval t.

source

fn eval_interval_gradient(&self, t: Interval<T>) -> Interval<T>

Bounds all the values of the gradient of this function on the interval t.

Implementors§