Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function > Class Template Reference

#include <mapply_2.h>

Inheritance diagram for Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >:
Collaboration diagram for Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >:

Public Types

typedef ::Rcpp::traits::result_of< Function, T_1 >::type result_type
Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function, T_1 >::type >::rtype, true, Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function > >
typedef traits::storage_type< RTYPE >::type stored_type
typedef traits::storage_type< RTYPE >::type elem_type
typedef iter_base< iter_traits > iterator
typedef iter_base< const_iter_traits > const_iterator

Public Member Functions

 Mapply_2_Vector_Primitive (const T_1 &vec_1_, PRIM_2 prim_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, T_1 >::type >::rtype, true, Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function > >
Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function > & get_ref ()
stored_type operator[] (R_xlen_t i) const
R_xlen_t size () const
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () const

Private Attributes

const T_1 & vec_1
PRIM_2 prim_2
Function fun

Detailed Description

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
class Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >

Definition at line 63 of file mapply_2.h.

Member Typedef Documentation

◆ result_type

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
typedef ::Rcpp::traits::result_of<Function,T_1>::type Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::result_type

Definition at line 73 of file mapply_2.h.

Constructor & Destructor Documentation

◆ Mapply_2_Vector_Primitive()

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::Mapply_2_Vector_Primitive ( const T_1 & vec_1_,
PRIM_2 prim_2_,
Function fun_ )
inline

Definition at line 75 of file mapply_2.h.

References fun, prim_2, and vec_1.

Member Function Documentation

◆ operator[]()

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

Definition at line 78 of file mapply_2.h.

References fun, prim_2, and vec_1.

◆ size()

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
R_xlen_t Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::size ( ) const
inline

Definition at line 81 of file mapply_2.h.

References vec_1.

Member Data Documentation

◆ fun

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
Function Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::fun
private

Definition at line 86 of file mapply_2.h.

Referenced by Mapply_2_Vector_Primitive(), and operator[]().

◆ prim_2

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
PRIM_2 Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::prim_2
private

Definition at line 85 of file mapply_2.h.

Referenced by Mapply_2_Vector_Primitive(), and operator[]().

◆ vec_1

template<int RTYPE, bool NA_1, typename T_1, typename PRIM_2, typename Function>
const T_1& Rcpp::sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, PRIM_2, Function >::vec_1
private

Definition at line 84 of file mapply_2.h.

Referenced by Mapply_2_Vector_Primitive(), operator[](), and size().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/mapply/mapply_2.h