Rcpp Version 0.12.12
Vectorized_Math.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::Vectorized< Func, NA, VEC >
 
class  Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >
 
class  Rcpp::sugar::Vectorized_INTSXP< Func, false, VEC >
 

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::sugar
 

Macros

#define VECTORIZED_MATH_1(__NAME__, __SYMBOL__)
 

Typedefs

typedef double(* Rcpp::sugar::DDFun) (double)
 

Macro Definition Documentation

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

Definition at line 83 of file Vectorized_Math.h.