Rcpp Version 1.0.14
Loading...
Searching...
No Matches
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

namespace  Rcpp
 Rcpp API.
 
namespace  Rcpp::sugar
 

Macros

#define SUGAR_MATH_1(__NAME__, __SYMBOL__)
 

Macro Definition Documentation

◆ SUGAR_MATH_1

#define SUGAR_MATH_1 (   __NAME__,
  __SYMBOL__ 
)
Value:
namespace Rcpp{ \
template <bool NA, typename T> \
inline sugar::SugarMath_1<NA,double,double,T, double (*)(double) > \
){ \
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) > \
){ \
return sugar::SugarMath_1<NA,double,int,T, double (*)(double)>( \
&__SYMBOL__ , t \
) ; \
} \
}
Rcpp API.
Definition algo.h:28
Vector< REALSXP > NumericVector
T as(SEXP x)
Definition as.h:151
static Na_Proxy NA
Definition Na_Proxy.h:52

Definition at line 100 of file SugarMath.h.