approx_equal Struct Template Reference
Element-wise comparison with a given absolute tolerance.
More...
#include <approx_equal.h>
List of all members.
|
Public Member Functions |
|
| approx_equal (T tolerance_=std::numeric_limits< T >::epsilon()) |
|
bool | operator() (vector< T > const &a, vector< T > const &b) const |
|
bool | operator() (matrix< T > const &a, matrix< T > const &b) const |
Public Attributes |
|
T | tolerance |
Detailed Description
template<typename T>
struct scitbx::sparse::approx_equal< T >
Element-wise comparison with a given absolute tolerance.
The documentation for this struct was generated from the following file: