[][src]Module sprs::approx

Traits for comparing vectors and matrices using the approx traits

Comparisons of sparse matrices with different storages might be slow. It is advised to compare using the same storage order for efficiency

These traits requires the approx feature to be activated

Traits

AbsDiffEq

Equality that is defined using the absolute difference of two numbers.

RelativeEq

Equality comparisons between two numbers using both the absolute difference and relative based comparisons.

UlpsEq

Equality comparisons between two numbers using both the absolute difference and ULPs (Units in Last Place) based comparisons.