Rcpp Version 1.0.9
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 iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > 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
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () 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 30 of file complex.h.

Member Typedef Documentation

◆ VEC_TYPE

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 37 of file complex.h.

Constructor & Destructor Documentation

◆ SugarComplex()

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 39 of file complex.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

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 47 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

◆ ptr

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

◆ vec

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: