Rcpp Version 0.12.12
Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > Class Template Reference

#include <mapply_2.h>

Inheritance diagram for Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >:
Collaboration diagram for Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >:

Public Types

typedef ::Rcpp::traits::result_of< Function >::type result_type
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function >::type >::rtype, true, Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 Mapply_2 (const T_1 &vec_1_, const T_2 &vec_2_, Function fun_)
 
result_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function >::type >::rtype, true, Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > >
Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > & get_ref ()
 
const Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const T_1 & vec_1
 
const T_2 & vec_2
 
Function fun
 

Detailed Description

template<int RTYPE, bool NA_1, typename T_1, bool NA_2, typename T_2, typename Function>
class Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >

Definition at line 33 of file mapply_2.h.

Member Typedef Documentation

template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
typedef ::Rcpp::traits::result_of<Function>::type Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >::result_type

Definition at line 41 of file mapply_2.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >::Mapply_2 ( const T_1 &  vec_1_,
const T_2 &  vec_2_,
Function  fun_ 
)
inline

Definition at line 43 of file mapply_2.h.

Member Function Documentation

template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
result_type Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >::operator[] ( R_xlen_t  i) const
inline
template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
R_xlen_t Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >::size ( ) const
inline

Member Data Documentation

template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
const T_2& Rcpp::sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function >::vec_2
private

The documentation for this class was generated from the following file: