22 #ifndef Rcpp__sugar__mapply_2_h
23 #define Rcpp__sugar__mapply_2_h
29 bool NA_1,
typename T_1,
30 bool NA_2,
typename T_2,
34 Rcpp::traits::r_sexptype_traits<
35 typename ::Rcpp::traits::result_of<Function>::type
38 Mapply_2<RTYPE,NA_1,T_1,NA_2,T_2,Function>
41 typedef typename ::Rcpp::traits::result_of<Function>::type
result_type ;
49 inline R_xlen_t
size()
const {
return vec_1.size() ; }
58 bool NA_1,
typename T_1,
64 Rcpp::traits::r_sexptype_traits<
65 typename ::Rcpp::traits::result_of<Function>::type
68 Mapply_2_Vector_Primitive<RTYPE,NA_1,T_1,PRIM_2,Function>
72 typedef typename ::Rcpp::traits::result_of<Function>::type
result_type ;
80 inline R_xlen_t
size()
const {
return vec_1.size() ; }
90 bool NA_2,
typename T_2,
95 Rcpp::traits::r_sexptype_traits<
96 typename ::Rcpp::traits::result_of<Function>::type
99 Mapply_2_Primitive_Vector<RTYPE,PRIM_1,NA_2,T_2,Function>
103 typedef typename ::Rcpp::traits::result_of<Function>::type
result_type ;
124 template <
int RTYPE,
bool NA_1,
typename T_1,
bool NA_2,
typename T_2,
typename Function >
130 template <
int RTYPE,
bool NA_1,
typename T_1,
typename Function >
131 inline sugar::Mapply_2_Vector_Primitive<RTYPE,NA_1,T_1,double,Function>
136 template <
int RTYPE,
bool NA_2,
typename T_2,
typename Function >
137 inline sugar::Mapply_2_Primitive_Vector<RTYPE,double, NA_2,T_2,Function>
result_type operator[](R_xlen_t i) const
Mapply_2_Primitive_Vector(PRIM_1 prim_1_, const T_2 &vec_2_, Function fun_)
::Rcpp::traits::result_of< Function >::type result_type
result_type operator[](R_xlen_t i) const
Mapply_2_Vector_Primitive(const T_1 &vec_1_, PRIM_2 prim_2_, Function fun_)
::Rcpp::traits::result_of< Function >::type result_type
::Rcpp::traits::result_of< Function >::type result_type
result_type operator[](R_xlen_t i) const
Mapply_2(const T_1 &vec_1_, const T_2 &vec_2_, Function fun_)
Function_Impl< PreserveStorage > Function
sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > mapply(const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, Function fun)