Ops include Arith (+
, -
, *
, ^
, %%
, %/%
, and /
);
Compare (==
, >
, <
, !=
, <=
, and >=
); and
Logic (&
, |
).
Methods of mathematical functions include trigonometry functions, abs
,
sign
, sqrt
, ceiling
, floor
, trunc
, cummax
, cumprod
, cumsum
,
log
, log10
, log2
, log1p
, exp
, expm1
, gamma
, lgamma
,
digamma
, and trigamma
.
Usage
# S4 method for class 'Rcpp_Parameter,Rcpp_Parameter'
Ops(e1, e2)
# S4 method for class 'Rcpp_Parameter,numeric'
Ops(e1, e2)
# S4 method for class 'numeric,Rcpp_Parameter'
Ops(e1, e2)
# S4 method for class 'Rcpp_ParameterVector,Rcpp_ParameterVector'
Ops(e1, e2)
# S4 method for class 'Rcpp_ParameterVector,numeric'
Ops(e1, e2)
# S4 method for class 'numeric,Rcpp_ParameterVector'
Ops(e1, e2)
# S4 method for class 'Rcpp_ParameterVector'
Math(x)