22 #ifndef Rcpp__sugar__outer_h
23 #define Rcpp__sugar__outer_h
29 bool LHS_NA,
typename LHS_T,
30 bool RHS_NA,
typename RHS_T,
33 Rcpp::traits::r_sexptype_traits<
34 typename ::Rcpp::traits::result_of<Function>::type
37 Outer<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T,Function>
40 typedef typename ::Rcpp::traits::result_of<Function>::type
result_type ;
60 inline R_xlen_t
size()
const {
return static_cast<R_xlen_t
>(
nr) *
nc ; }
61 inline int nrow()
const {
return nr; }
62 inline int ncol()
const {
return nc; }
76 bool LHS_NA,
typename LHS_T,
77 bool RHS_NA,
typename RHS_T,
static target get(const T &input)
::Rcpp::traits::result_of< Function >::type result_type
Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > LHS_TYPE
STORAGE operator()(int i, int j) const
Rcpp::traits::r_vector_element_converter< RESULT_R_TYPE >::type converter_type
Rcpp::traits::storage_type< RESULT_R_TYPE >::type STORAGE
Outer(const LHS_TYPE &lhs_, const RHS_TYPE &rhs_, Function fun_)
Rcpp::internal::LazyVector< RHS_TYPE > RHS_LAZY
static const int RESULT_R_TYPE
Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > RHS_TYPE
Rcpp::internal::LazyVector< LHS_TYPE > LHS_LAZY
Function_Impl< PreserveStorage > Function
sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > outer(const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs, Function fun)