|
Fermat
|
if true functor
#include <functors.h>
Public Types | |
| typedef unary_function_tag | function_tag |
| typedef T | argument_type |
| typedef R | result_type |
Public Methods | |
| CUGAR_HOST_DEVICE | if_true_functor (const R r0, const R r1) |
| CUGAR_HOST_DEVICE R | operator() (const T &v) const |
|
inline |
constructor
| r0 | true output value |
| r1 | false output value |
1.8.13