Rcpp Version 1.0.9
|
#include <sapply.h>
Public Types | |
typedef ::Rcpp::sugar::sapply_application_result_of< Function, T >::type | result_type |
typedef Rcpp::VectorBase< RTYPE, NA, T > | VEC |
typedef Rcpp::traits::r_vector_element_converter< RESULT_R_TYPE >::type | converter_type |
typedef Rcpp::traits::storage_type< RESULT_R_TYPE >::type | STORAGE |
typedef Rcpp::traits::Extractor< RTYPE, NA, T >::type | EXT |
Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::sugar::sapply_application_result_of< Function, T >::type >::rtype, true, Sapply< RTYPE, NA, T, Function, NO_CONVERSION > > | |
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 | |
Sapply (const VEC &vec_, Function fun_) | |
STORAGE | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
Public Member Functions inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::sugar::sapply_application_result_of< Function, T >::type >::rtype, true, Sapply< RTYPE, NA, T, Function, NO_CONVERSION > > | |
Sapply< RTYPE, NA, T, Function, NO_CONVERSION > & | get_ref () |
const Sapply< RTYPE, NA, T, Function, NO_CONVERSION > & | 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 |
Static Public Attributes | |
static const int | RESULT_R_TYPE |
Private Attributes | |
const EXT & | vec |
Function | fun |
typedef Rcpp::traits::r_vector_element_converter<RESULT_R_TYPE>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::converter_type |
typedef Rcpp::traits::Extractor< RTYPE, NA, T>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::EXT |
typedef ::Rcpp::sugar::sapply_application_result_of<Function, T>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::result_type |
typedef Rcpp::traits::storage_type<RESULT_R_TYPE>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::STORAGE |
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::VEC |
|
inline |
Definition at line 64 of file sapply.h.
References DEMANGLE, and RCPP_DEBUG_1.
|
inline |
Definition at line 69 of file sapply.h.
References Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::fun, Rcpp::internal::element_converter< RTYPE >::get(), and Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::vec.
|
inline |
Definition at line 73 of file sapply.h.
References Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::vec.
|
private |
Definition at line 77 of file sapply.h.
Referenced by Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::operator[](), and Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >::operator[]().
|
static |
|
private |
Definition at line 76 of file sapply.h.
Referenced by Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::operator[](), Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >::operator[](), Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::size(), and Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >::size().