#include <binary.h>
|
| template<class Lv , class Rv > |
| __host__ __device__ auto | operator() (Lv &&lv, Rv &&rv) const -> decltype(apply(lv, rv)) |
| |
|
| template<class Lv , class Rv > |
| __host__ static __device__ auto | apply (Lv &&lv, Rv &&rv) -> decltype(std::abs(lv - rv)< .01) |
| |
◆ apply()
template<class Lv , class Rv >
| __host__ static __device__ auto bc::oper::Approx_Equal::apply |
( |
Lv && |
lv, |
|
|
Rv && |
rv |
|
) |
| -> decltype( std::abs(lv - rv) < .01 ) |
|
inlinestatic |
◆ operator()()
template<class Lv , class Rv >
| __host__ __device__ auto bc::oper::Approx_Equal::operator() |
( |
Lv && |
lv, |
|
|
Rv && |
rv |
|
) |
| const -> decltype(apply(lv, rv)) |
|
inline |
The documentation for this struct was generated from the following file: