Struct rulinalg::macros::AbsoluteElementwiseComparator [] [src]

pub struct AbsoluteElementwiseComparator<T> {
    pub tol: T,
}

The abs comparator used with assert_matrix_eq!.

Fields

The maximum absolute difference tolerated (inclusive).

Trait Implementations

impl<T: Copy> Copy for AbsoluteElementwiseComparator<T>
[src]

impl<T: Clone> Clone for AbsoluteElementwiseComparator<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for AbsoluteElementwiseComparator<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for AbsoluteElementwiseComparator<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T> ElementwiseComparator<T, AbsoluteError<T>> for AbsoluteElementwiseComparator<T> where T: Copy + Display + Num + PartialOrd<T>
[src]

Compares two elements. Read more

A description of the comparator.