Rcpp Version 0.9.10
Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr > Class Template Reference

#include <SugarMath.h>

Inheritance diagram for Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >:
Collaboration diagram for Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< Rcpp::traits::r_sexptype_traits
< OUT >::rtype,NA, T1 > 
VEC_TYPE

Public Member Functions

 SugarMath_1 (FunPtr ptr_, const VEC_TYPE &vec_)
OUT operator[] (int i) const
int size () const

Private Attributes

FunPtr ptr
const VEC_TYPEvec

Detailed Description

template<bool NA, typename OUT, typename U1, typename T1, typename FunPtr>
class Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >

Definition at line 29 of file SugarMath.h.


Member Typedef Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename FunPtr >
typedef Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits<OUT>::rtype ,NA,T1> Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >::VEC_TYPE

Definition at line 36 of file SugarMath.h.


Constructor & Destructor Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename FunPtr >
Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >::SugarMath_1 ( FunPtr  ptr_,
const VEC_TYPE vec_ 
) [inline]

Definition at line 38 of file SugarMath.h.


Member Function Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename FunPtr >
OUT Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >::operator[] ( int  i) const [inline]
template<bool NA, typename OUT , typename U1 , typename T1 , typename FunPtr >
int Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >::size ( ) const [inline]

Member Data Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename FunPtr >
FunPtr Rcpp::sugar::SugarMath_1< NA, OUT, U1, T1, FunPtr >::ptr [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines