[][src]Trait nikisas_test::domain::Domain

pub trait Domain<F: FloatExt> {
    fn error<T>(self, compute: T) -> Error<F, F>
    where
        T: Fn(F) -> (F, F)
;
fn assert<T>(self, bounds: ErrorBounds<F>, compute: T)
    where
        T: Fn(F) -> (F, F)
; }

Trait for interval iterators for computing (or asserting) errors.

Required methods

fn error<T>(self, compute: T) -> Error<F, F> where
    T: Fn(F) -> (F, F)

Computes the errors encountered on the interval.

fn assert<T>(self, bounds: ErrorBounds<F>, compute: T) where
    T: Fn(F) -> (F, F)

Asserts the errors encountered on the interval to have given bounds.

Loading content...

Implementors

impl<F: FloatExt, I: Iterator<Item = F>> Domain<F> for I[src]

Loading content...