Rcpp Version 0.12.12
Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr > Class Template Reference

#include <complex.h>

Inheritance diagram for Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >:
Collaboration diagram for Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >:

Public Types

typedef Rcpp::VectorBase< CPLXSXP, NA, T > VEC_TYPE
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarComplex< NA, RESULT_TYPE, T, FunPtr > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 SugarComplex (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, NA, SugarComplex< NA, RESULT_TYPE, T, FunPtr > >
SugarComplex< NA, RESULT_TYPE, T, FunPtr > & get_ref ()
 
const SugarComplex< NA, RESULT_TYPE, T, 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<bool NA, typename RESULT_TYPE, typename T, typename FunPtr>
class Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >

Definition at line 36 of file complex.h.

Member Typedef Documentation

template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
typedef Rcpp::VectorBase<CPLXSXP,NA,T> Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::VEC_TYPE

Definition at line 43 of file complex.h.

Constructor & Destructor Documentation

template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::SugarComplex ( FunPtr  ptr_,
const VEC_TYPE vec_ 
)
inline

Definition at line 45 of file complex.h.

Member Function Documentation

template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
RESULT_TYPE Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::operator[] ( R_xlen_t  i) const
inline
template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
R_xlen_t Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::size ( ) const
inline

Definition at line 53 of file complex.h.

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

Here is the call graph for this function:

Member Data Documentation

template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
FunPtr Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::ptr
private
template<bool NA, typename RESULT_TYPE , typename T , typename FunPtr >
const VEC_TYPE& Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::vec
private

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