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§
sourcefn eval_interval(&self, t: Interval<T>) -> Interval<T>
fn eval_interval(&self, t: Interval<T>) -> Interval<T>
Bounds all the values of this function on the interval t
.
sourcefn eval_interval_gradient(&self, t: Interval<T>) -> Interval<T>
fn eval_interval_gradient(&self, t: Interval<T>) -> Interval<T>
Bounds all the values of the gradient of this function on the interval t
.