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)> \
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