Fermat
|
A functor to return the either one or zero depending on the boolean predicate evaluation of the input.
#include <functors.h>
Public Types | |
typedef unary_function_tag | function_tag |
typedef uint32 | argument_type |
typedef uint32 | result_type |
Public Methods | |
CUGAR_HOST_DEVICE uint32 | operator() (const uint32 op) const |