|
Rcpp Version 1.0.14
|
#include <SugarMath.h>


Public Types | |
| typedef Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype,NA, T1 > | VEC_TYPE |
Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarMath_1< NA, RESULT_TYPE, U1, T1, 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 | |
| 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, NA, SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr > > | |
| SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr > & | get_ref () |
| const SugarMath_1< NA, RESULT_TYPE, U1, T1, 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 |
Definition at line 29 of file SugarMath.h.
| typedef Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits<RESULT_TYPE>::rtype ,NA,T1> Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::VEC_TYPE |
Definition at line 36 of file SugarMath.h.
|
inline |
Definition at line 38 of file SugarMath.h.
|
inline |
Definition at line 40 of file SugarMath.h.
References Rcpp::as(), Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::ptr, and Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::vec.

|
inline |
Definition at line 45 of file SugarMath.h.
References Rcpp::VectorBase< RTYPE, na, VECTOR >::size(), and Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::vec.

|
private |
|
private |
Definition at line 49 of file SugarMath.h.
Referenced by Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::operator[](), Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, int, T1, FunPtr >::operator[](), Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::operator[](), Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, U1, T1, FunPtr >::size(), Rcpp::sugar::SugarMath_1< NA, RESULT_TYPE, int, T1, FunPtr >::size(), and Rcpp::sugar::SugarMath_1< false, RESULT_TYPE, int, T1, FunPtr >::size().