Rcpp Version 0.12.12
SugarMath.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >
 
class  Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, int, T1, FunPtr >
 
class  Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >
 

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::sugar
 

Macros

#define SUGAR_MATH_1(__NAME__, __SYMBOL__)
 

Macro Definition Documentation

#define SUGAR_MATH_1 (   __NAME__,
  __SYMBOL__ 
)
Value:
namespace Rcpp{ \
template <bool NA, typename T> \
inline sugar::SugarMath_1<NA,double,double,T, double (*)(double) > \
__NAME__( \
const VectorBase<REALSXP,NA,T>& t \
){ \
return sugar::SugarMath_1<NA,double,double,T, double (*)(double)>( \
&__SYMBOL__ , t \
) ; \
} \
inline sugar::SugarMath_1<true,double,double,NumericVector,double(*)(double)> \
__NAME__( SEXP x){ return __NAME__( NumericVector( x ) ) ; } \
template <bool NA, typename T> \
inline sugar::SugarMath_1<NA,double,int,T, double (*)(double) > \
__NAME__( \
const VectorBase<INTSXP,NA,T>& t \
){ \
return sugar::SugarMath_1<NA,double,int,T, double (*)(double)>( \
&__SYMBOL__ , t \
) ; \
} \
}
Vector< REALSXP > NumericVector
Definition: instantiation.h:30
Rcpp API.
Definition: algo.h:28

Definition at line 100 of file SugarMath.h.