Rcpp Version 1.0.14
Loading...
Searching...
No Matches
Namespaces
|
Macros
r_binary_op.h File Reference
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces
namespace
Rcpp
Rcpp
API.
namespace
Rcpp::sugar
Macros
#define
RCPP_OP
(NAME, OP)
Macro Definition Documentation
◆
RCPP_OP
#define RCPP_OP
(
NAME,
OP
)
Value:
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
.
inst
include
Rcpp
sugar
operators
r_binary_op.h
Generated on Sun Jan 12 2025 11:21:44 for Rcpp Version 1.0.14 by
1.9.8