Rcpp Version 1.0.9
|
#include <complex.h>
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_TYPE & | vec |
typedef Rcpp::VectorBase<CPLXSXP,NA,T> Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::VEC_TYPE |
|
inline |
|
inline |
Definition at line 41 of file complex.h.
References Rcpp::traits::is_na< CPLXSXP >(), Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::ptr, and Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::vec.
|
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.
|
private |
Definition at line 50 of file complex.h.
Referenced by Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::operator[]().
|
private |
Definition at line 51 of file complex.h.
Referenced by Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::operator[](), and Rcpp::sugar::SugarComplex< NA, RESULT_TYPE, T, FunPtr >::size().