Equality comparator functor that compares physical values rather than logical elements like lists, strings, or structs. It evaluates NaN
as equal to other NaN
s.
More...
Public Member Functions | |
template<typename Element , CUDF_ENABLE_IF(not std::is_floating_point_v< Element >) > | |
constexpr bool | operator() (Element const lhs, Element const rhs) const noexcept |
Operator for equality comparison of non-floating point values. More... | |
template<typename Element , CUDF_ENABLE_IF(std::is_floating_point_v< Element >) > | |
constexpr bool | operator() (Element const lhs, Element const rhs) const noexcept |
Operator for equality comparison of floating point values. More... | |
Equality comparator functor that compares physical values rather than logical elements like lists, strings, or structs. It evaluates NaN
as equal to other NaN
s.
Definition at line 1295 of file experimental/row_operators.cuh.
|
inlineconstexprnoexcept |
Operator for equality comparison of non-floating point values.
lhs | First element |
rhs | Second element |
true
if lhs == rhs
else false
Definition at line 1304 of file experimental/row_operators.cuh.
|
inlineconstexprnoexcept |
Operator for equality comparison of floating point values.
Note that NaN == NaN
.
lhs | First element |
rhs | Second element |
true
if lhs
== rhs
else false
Definition at line 1319 of file experimental/row_operators.cuh.