Rcpp Version 0.9.10
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

namespace  Rcpp
 

Rcpp API.


namespace  Rcpp::sugar

Defines

#define VECTORIZED_MATH_1(__NAME__, __SYMBOL__)

Typedefs

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

Define 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 ) ;              \
        }                                                                        \
}

Definition at line 83 of file Vectorized_Math.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines