Rcpp Version 0.12.12
Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr > Class Template Reference

#include <SugarMath.h>

Inheritance diagram for Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >:
Collaboration diagram for Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >:

Public Types

typedef Rcpp::VectorBase< INTSXP,false, T1 > VEC_TYPE
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, false, SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 SugarMath_1 (FunPtr ptr_, const VEC_TYPE &vec_)
 
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< RESULT_TYPE >::rtype, false, SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr > >
SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr > & get_ref ()
 
const SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

FunPtr ptr
 
const VEC_TYPEvec
 

Detailed Description

template<typename RESULT_TYPE, typename T1, typename FunPtr>
class Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >

Definition at line 76 of file SugarMath.h.

Member Typedef Documentation

template<typename RESULT_TYPE , typename T1 , typename FunPtr >
typedef Rcpp::VectorBase< INTSXP ,false,T1> Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::VEC_TYPE

Definition at line 83 of file SugarMath.h.

Constructor & Destructor Documentation

template<typename RESULT_TYPE , typename T1 , typename FunPtr >
Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::SugarMath_1 ( FunPtr  ptr_,
const VEC_TYPE vec_ 
)
inline

Definition at line 84 of file SugarMath.h.

Member Function Documentation

template<typename RESULT_TYPE , typename T1 , typename FunPtr >
RESULT_TYPE Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::operator[] ( R_xlen_t  i) const
inline
template<typename RESULT_TYPE , typename T1 , typename FunPtr >
R_xlen_t Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::size ( ) const
inline

Definition at line 89 of file SugarMath.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::size(), and Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::vec.

Here is the call graph for this function:

Member Data Documentation

template<typename RESULT_TYPE , typename T1 , typename FunPtr >
FunPtr Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::ptr
private

Definition at line 92 of file SugarMath.h.

template<typename RESULT_TYPE , typename T1 , typename FunPtr >
const VEC_TYPE& Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::vec
private

Definition at line 93 of file SugarMath.h.


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