ndarray
NumPy-friendly multidimensional arrays in C++
|
Binary predicate for complex floating point equality comparison with tolerance. More...
#include <types.h>
Public Types | |
typedef std::complex< U1 > | first_argument_type |
typedef std::complex< U2 > | second_argument_type |
typedef bool | result_type |
typedef Promote< U1, U2 >::Type | Promoted |
Public Member Functions | |
result_type | operator() (std::complex< U1 > const &a, std::complex< U2 > const &b) const |
ApproximatelyEqual (Promoted tolerance) | |
Binary predicate for complex floating point equality comparison with tolerance.
Implementation is roughly modeled after the floating point comparisons in the Boost.Test library.