Struct rulinalg::macros::UlpElementwiseComparator [] [src]

pub struct UlpElementwiseComparator {
    pub tol: u64,
}

The ulp comparator used with assert_matrix_eq!.

Fields

The maximum difference in ULP units tolerated (inclusive).

Trait Implementations

impl Copy for UlpElementwiseComparator
[src]

impl Clone for UlpElementwiseComparator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UlpElementwiseComparator
[src]

Formats the value using the given formatter.

impl PartialEq for UlpElementwiseComparator
[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, UlpError> for UlpElementwiseComparator where T: Copy + Ulp
[src]

Compares two elements. Read more

A description of the comparator.