[][src]Trait un_algebra::numeric::order::NumOrd

pub trait NumOrd: PartialOrd + NumEq {
    fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool { ... }
fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool { ... }
fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool { ... }
fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool { ... } }

Numeric ordering predicates.

Provided methods

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool

Are two values numerically ordered, within eps?

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool

Are two values numerically ordered or equal, within eps?

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool

Are two values numerically un-ordered, within eps?

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool

Are two values numerically un-ordered or equal, within eps?

Loading content...

Implementations on Foreign Types

impl NumOrd for f32[src]

impl NumOrd for f64[src]

impl<T: NumOrd> NumOrd for (T,)[src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd> NumOrd for (T, T)[src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd> NumOrd for (T, T, T)[src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd> NumOrd for (T, T, T, T)[src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 0][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 1][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 2][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 3][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 4][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 5][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 6][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 7][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 8][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 9][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 10][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 11][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 12][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 13][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 14][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 15][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

impl<T: NumOrd + Copy> NumOrd for [T; 16][src]

fn num_gt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order is by matching element.

fn num_ge(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric order-equality is by matching element.

fn num_lt(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order is by matching element.

fn num_le(&self, other: &Self, eps: &Self::Eps) -> bool[src]

Numeric un-order-equality is by matching element.

Loading content...

Implementors

Loading content...