Skip to contents

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)

Arguments

e1, e2

An Rcpp_Parameter or Rcpp_ParameterVector class object or a numeric vector or value.

x

An Rcpp_ParameterVector class object.

Value

A numeric or logical value(s) depending on the generic and the length of the input values.

A vector of numeric values.