| 42 | typedef typename ::Rcpp::traits::result_of<Function, T_1, T_2>::type result_type ; |
| 43 | |
| 44 | Mapply_2( const T_1& vec_1_, const T_2& vec_2_, Function fun_ ) : |
| 45 | vec_1(vec_1_), vec_2(vec_2_), fun(fun_){} |
| 46 | |
| 47 | inline result_type operator[]( R_xlen_t i ) const { |
| 48 | return fun( vec_1[i], vec_2[i] ); |
nothing calls this directly
no outgoing calls
no test coverage detected