|
Rcpp Version 0.9.10
|

Go to the source code of this file.
Namespaces | |
| namespace | Rcpp |
Rcpp API. | |
| namespace | Rcpp::sugar |
Defines | |
| #define | RCPP_OP(NAME, OP) |
| #define RCPP_OP | ( | NAME, | |
| OP | |||
| ) |
template <int RTYPE> \ class NAME { \ public: \ typedef typename traits::storage_type<RTYPE>::type STORAGE ; \ inline int operator()( STORAGE lhs, STORAGE rhs) const { \ return lhs OP rhs ; \ } \ } ;
Definition at line 29 of file r_binary_op.h.