|
Rcpp Version 0.9.10
|
internal implementation details More...
Classes | |
| class | NamedPlaceHolder |
| class | converter |
| class | SEXPstack |
Functions | |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_primitive_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_string_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_generic_tag) |
| SEXP | get_Rcpp_namespace () |
| SEXP | get_rcpptrycatch () |
| SEXP | get_evalq () |
| SEXP | empty_data_frame () |
| template<> | |
| double | caster< Rcpp::Date, double > (Rcpp::Date from) |
| template<> | |
| Rcpp::Date | caster< double, Rcpp::Date > (double from) |
| template<> | |
| double | caster< Rcpp::Datetime, double > (Rcpp::Datetime from) |
| template<> | |
| Rcpp::Datetime | caster< double, Rcpp::Datetime > (double from) |
| template<typename T > | |
| SEXP | grow__dispatch (::Rcpp::traits::false_type, const T &head, SEXP tail) |
| template<typename Class > | |
| SEXP | make_new_object (Class *ptr) |
| template<int TARGET> | |
| SEXP | r_true_cast (SEXP x) |
| template<> | |
| SEXP | r_true_cast< INTSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< REALSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< RAWSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< CPLXSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< LGLSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< STRSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< VECSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< EXPRSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< LISTSXP > (SEXP x) |
| template<> | |
| SEXP | r_true_cast< LANGSXP > (SEXP x) |
| double | complex__Re (Rcomplex x) |
| double | complex__Im (Rcomplex x) |
| double | complex__Mod (Rcomplex x) |
| Rcomplex | complex__Conj (Rcomplex x) |
| Rcomplex | complex__exp (Rcomplex x) |
| Rcomplex | complex__log (Rcomplex x) |
| Rcomplex | complex__sqrt (Rcomplex z) |
| Rcomplex | complex__cos (Rcomplex z) |
| Rcomplex | complex__cosh (Rcomplex z) |
| Rcomplex | complex__sin (Rcomplex z) |
| Rcomplex | complex__tan (Rcomplex z) |
| Rcomplex | complex__asin (Rcomplex z) |
| Rcomplex | complex__acos (Rcomplex z) |
| Rcomplex | complex__atan (Rcomplex z) |
| Rcomplex | complex__acosh (Rcomplex z) |
| Rcomplex | complex__asinh (Rcomplex z) |
| Rcomplex | complex__atanh (Rcomplex z) |
| Rcomplex | complex__sinh (Rcomplex z) |
| Rcomplex | complex__tanh (Rcomplex z) |
| double | factorial (double x) |
| double | lfactorial (double x) |
| template<int RTYPE, bool NA, typename T > | |
| Rcpp::Vector< RTYPE > | as_vector__impl (MatrixBase< RTYPE, NA, T > &t, Rcpp::traits::false_type) |
| int | get_line (int index, int nr) |
| int | get_column (int index, int nr) |
| int | get_column (int index, int nr, int i) |
| template<typename T > | |
| int | rcpp_call_test (T t) |
| int | rcpp_call_test_ (SEXP) |
| SEXP | convert_using_rfunction (SEXP x, const char *const fun) |
| SEXP | try_catch (SEXP expr, SEXP env) |
| SEXP | try_catch (SEXP expr) |
| template<> | |
| int | r_coerce< INTSXP, INTSXP > (int from) |
| template<> | |
| int | r_coerce< LGLSXP, LGLSXP > (int from) |
| template<> | |
| double | r_coerce< REALSXP, REALSXP > (double from) |
| template<> | |
| Rcomplex | r_coerce< CPLXSXP, CPLXSXP > (Rcomplex from) |
| template<> | |
| Rbyte | r_coerce< RAWSXP, RAWSXP > (Rbyte from) |
| template<> | |
| int | r_coerce< LGLSXP, INTSXP > (int from) |
| template<> | |
| int | r_coerce< REALSXP, INTSXP > (double from) |
| template<> | |
| int | r_coerce< CPLXSXP, INTSXP > (Rcomplex from) |
| template<> | |
| int | r_coerce< RAWSXP, INTSXP > (Rbyte from) |
| template<> | |
| double | r_coerce< LGLSXP, REALSXP > (int from) |
| template<> | |
| double | r_coerce< INTSXP, REALSXP > (int from) |
| template<> | |
| double | r_coerce< CPLXSXP, REALSXP > (Rcomplex from) |
| template<> | |
| double | r_coerce< RAWSXP, REALSXP > (Rbyte from) |
| template<> | |
| int | r_coerce< REALSXP, LGLSXP > (double from) |
| template<> | |
| int | r_coerce< INTSXP, LGLSXP > (int from) |
| template<> | |
| int | r_coerce< CPLXSXP, LGLSXP > (Rcomplex from) |
| template<> | |
| int | r_coerce< RAWSXP, LGLSXP > (Rbyte from) |
| template<> | |
| Rbyte | r_coerce< REALSXP, RAWSXP > (double from) |
| template<> | |
| Rbyte | r_coerce< INTSXP, RAWSXP > (int from) |
| template<> | |
| Rbyte | r_coerce< CPLXSXP, RAWSXP > (Rcomplex from) |
| template<> | |
| Rbyte | r_coerce< LGLSXP, RAWSXP > (int from) |
| template<> | |
| Rcomplex | r_coerce< REALSXP, CPLXSXP > (double from) |
| template<> | |
| Rcomplex | r_coerce< INTSXP, CPLXSXP > (int from) |
| template<> | |
| Rcomplex | r_coerce< RAWSXP, CPLXSXP > (Rbyte from) |
| template<> | |
| Rcomplex | r_coerce< LGLSXP, CPLXSXP > (int from) |
| SEXP | getPosixClasses () |
| SEXP | new_posixt_object (double d) |
| SEXP | new_date_object (double d) |
| template<> | |
| int * | r_vector_start< INTSXP, int > (SEXP x) |
| template<> | |
| int * | r_vector_start< LGLSXP, int > (SEXP x) |
| template<> | |
| double * | r_vector_start< REALSXP, double > (SEXP x) |
| template<> | |
| Rbyte * | r_vector_start< RAWSXP, Rbyte > (SEXP x) |
| template<> | |
| Rcomplex * | r_vector_start< CPLXSXP, Rcomplex > (SEXP x) |
| template<> | |
| void | r_init_vector< VECSXP > (SEXP x) |
| template<> | |
| void | r_init_vector< EXPRSXP > (SEXP x) |
| template<> | |
| void | r_init_vector< STRSXP > (SEXP x) |
| template<> | |
| Rcomplex | get_zero< CPLXSXP, Rcomplex > () |
| template<> | |
| Rcomplex | caster< std::complex< double >, Rcomplex > (std::complex< double > from) |
| template<> | |
| Rcomplex | caster< std::complex< float >, Rcomplex > (std::complex< float > from) |
| template<> | |
| std::complex< double > | caster< Rcomplex, std::complex< double > > (Rcomplex from) |
| template<> | |
| std::complex< float > | caster< Rcomplex, std::complex< float > > (Rcomplex from) |
internal implementation details
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_primitive_tag | |||
| ) |
Definition at line 29 of file as.h.

| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_string_tag | |||
| ) |
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_generic_tag | |||
| ) |
Definition at line 49 of file as.h.
References DEMANGLE, and RCPP_DEBUG_1.
| Rcpp::Vector< RTYPE > Rcpp::internal::as_vector__impl | ( | MatrixBase< RTYPE, NA, T > & | t, |
| Rcpp::traits::false_type | |||
| ) | [inline] |
Definition at line 30 of file as_vector.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::get_ref().
Referenced by Rcpp::as_vector().

| Rcpp::Date Rcpp::internal::caster< double, Rcpp::Date > | ( | double | from | ) | [inline] |
| Rcpp::Datetime Rcpp::internal::caster< double, Rcpp::Datetime > | ( | double | from | ) | [inline] |
Definition at line 80 of file Datetime.h.
| std::complex<double> Rcpp::internal::caster< Rcomplex, std::complex< double > > | ( | Rcomplex | from | ) |
Definition at line 157 of file RcppCommon.cpp.
| std::complex<float> Rcpp::internal::caster< Rcomplex, std::complex< float > > | ( | Rcomplex | from | ) |
Definition at line 160 of file RcppCommon.cpp.
| double Rcpp::internal::caster< Rcpp::Date, double > | ( | Rcpp::Date | from | ) | [inline] |
| double Rcpp::internal::caster< Rcpp::Datetime, double > | ( | Rcpp::Datetime | from | ) | [inline] |
Definition at line 77 of file Datetime.h.
| Rcomplex Rcpp::internal::caster< std::complex< double >, Rcomplex > | ( | std::complex< double > | from | ) |
Definition at line 144 of file RcppCommon.cpp.
| Rcomplex Rcpp::internal::caster< std::complex< float >, Rcomplex > | ( | std::complex< float > | from | ) |
Definition at line 150 of file RcppCommon.cpp.
| Rcomplex Rcpp::internal::complex__acos | ( | Rcomplex | z | ) | [inline] |
Definition at line 153 of file complex.h.
References complex__asin().
Referenced by complex__acosh().

| Rcomplex Rcpp::internal::complex__acosh | ( | Rcomplex | z | ) | [inline] |
Definition at line 186 of file complex.h.
References a, and complex__acos().

| Rcomplex Rcpp::internal::complex__asin | ( | Rcomplex | z | ) | [inline] |
Definition at line 137 of file complex.h.
References RCPP_HYPOT, x, and y.
Referenced by complex__acos(), and complex__asinh().
| Rcomplex Rcpp::internal::complex__asinh | ( | Rcomplex | z | ) | [inline] |
Definition at line 193 of file complex.h.
References a, b, and complex__asin().

| Rcomplex Rcpp::internal::complex__atan | ( | Rcomplex | z | ) | [inline] |
| Rcomplex Rcpp::internal::complex__atanh | ( | Rcomplex | z | ) | [inline] |
Definition at line 203 of file complex.h.
References a, b, and complex__atan().

| Rcomplex Rcpp::internal::complex__Conj | ( | Rcomplex | x | ) | [inline] |
| Rcomplex Rcpp::internal::complex__cos | ( | Rcomplex | z | ) | [inline] |
| Rcomplex Rcpp::internal::complex__cosh | ( | Rcomplex | z | ) | [inline] |
| Rcomplex Rcpp::internal::complex__exp | ( | Rcomplex | x | ) | [inline] |
| Rcomplex Rcpp::internal::complex__log | ( | Rcomplex | x | ) | [inline] |
Definition at line 79 of file complex.h.
References RCPP_HYPOT, and y.
| Rcomplex Rcpp::internal::complex__sin | ( | Rcomplex | z | ) | [inline] |
Definition at line 115 of file complex.h.
Referenced by complex__sinh().
| Rcomplex Rcpp::internal::complex__sinh | ( | Rcomplex | z | ) | [inline] |
Definition at line 212 of file complex.h.
References a, b, and complex__sin().

| Rcomplex Rcpp::internal::complex__sqrt | ( | Rcomplex | z | ) | [inline] |
Definition at line 85 of file complex.h.
References RCPP_HYPOT.
| Rcomplex Rcpp::internal::complex__tan | ( | Rcomplex | z | ) | [inline] |
Definition at line 121 of file complex.h.
Referenced by complex__tanh().
| Rcomplex Rcpp::internal::complex__tanh | ( | Rcomplex | z | ) | [inline] |
Definition at line 223 of file complex.h.
References a, b, and complex__tan().

| SEXP Rcpp::internal::convert_using_rfunction | ( | SEXP | x, |
| const char *const | fun | ||
| ) |
Definition at line 63 of file Evaluator.cpp.
References R_NilValue, and Rcpp::Evaluator::run().
Referenced by Rcpp::Formula::Formula(), r_true_cast< EXPRSXP >(), r_true_cast< LANGSXP >(), r_true_cast< LISTSXP >(), r_true_cast< VECSXP >(), and Rcpp::DataFrame::set().

| SEXP Rcpp::internal::empty_data_frame | ( | ) | [inline] |
Definition at line 31 of file DataFrame.h.
| int Rcpp::internal::get_column | ( | int | index, |
| int | nr | ||
| ) | [inline] |
Definition at line 32 of file tools.h.
References get_line(), and i.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().

| int Rcpp::internal::get_column | ( | int | index, |
| int | nr, | ||
| int | i | ||
| ) | [inline] |
| SEXP Rcpp::internal::get_evalq | ( | ) |
Definition at line 40 of file cache.cpp.
Referenced by Rcpp::Evaluator::run().
| int Rcpp::internal::get_line | ( | int | index, |
| int | nr | ||
| ) | [inline] |
Definition at line 28 of file tools.h.
Referenced by get_column(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
| SEXP Rcpp::internal::get_Rcpp_namespace | ( | ) |
Definition at line 33 of file cache.cpp.
References maybe_init(), and Rcpp_cache.
Referenced by Rcpp::Environment::Rcpp_namespace().

| SEXP Rcpp::internal::get_rcpptrycatch | ( | ) |
Definition at line 36 of file cache.cpp.
Referenced by Rcpp::Evaluator::run().
| Rcomplex Rcpp::internal::get_zero< CPLXSXP, Rcomplex > | ( | ) |
Definition at line 137 of file RcppCommon.cpp.
References x.
| SEXP Rcpp::internal::getPosixClasses | ( | ) |
Definition at line 27 of file posixt.cpp.
References PROTECT().
Referenced by new_posixt_object(), and Rcpp::wrap_extra_steps< Rcpp::Datetime >().

| SEXP Rcpp::internal::grow__dispatch | ( | ::Rcpp::traits::false_type | , |
| const T & | head, | ||
| SEXP | tail | ||
| ) |
Definition at line 35 of file grow.h.
References PROTECT(), Rcpp::wrap(), and x.
Referenced by Rcpp::grow().

| SEXP Rcpp::internal::make_new_object | ( | Class * | ptr | ) |
Definition at line 43 of file Module.h.
References Rcpp::Environment::Rcpp_namespace().

| SEXP Rcpp::internal::new_date_object | ( | double | d | ) |
Definition at line 42 of file posixt.cpp.
Referenced by Rcpp::wrap().

| SEXP Rcpp::internal::new_posixt_object | ( | double | d | ) |
Definition at line 35 of file posixt.cpp.
References getPosixClasses(), PROTECT(), and x.
Referenced by Rcpp::wrap().

| Rcomplex Rcpp::internal::r_coerce< CPLXSXP, CPLXSXP > | ( | Rcomplex | from | ) |
Definition at line 30 of file coerce.cpp.
| int Rcpp::internal::r_coerce< CPLXSXP, INTSXP > | ( | Rcomplex | from | ) |
Definition at line 45 of file coerce.cpp.
References r_coerce< REALSXP, INTSXP >().

| int Rcpp::internal::r_coerce< CPLXSXP, LGLSXP > | ( | Rcomplex | from | ) |
Definition at line 73 of file coerce.cpp.
| Rbyte Rcpp::internal::r_coerce< CPLXSXP, RAWSXP > | ( | Rcomplex | from | ) |
Definition at line 91 of file coerce.cpp.
References r_coerce< REALSXP, RAWSXP >().

| double Rcpp::internal::r_coerce< CPLXSXP, REALSXP > | ( | Rcomplex | from | ) |
Definition at line 59 of file coerce.cpp.
| Rcomplex Rcpp::internal::r_coerce< INTSXP, CPLXSXP > | ( | int | from | ) |
Definition at line 110 of file coerce.cpp.
| int Rcpp::internal::r_coerce< INTSXP, INTSXP > | ( | int | from | ) |
Definition at line 27 of file coerce.cpp.
| int Rcpp::internal::r_coerce< INTSXP, LGLSXP > | ( | int | from | ) |
Definition at line 70 of file coerce.cpp.
| Rbyte Rcpp::internal::r_coerce< INTSXP, RAWSXP > | ( | int | from | ) |
Definition at line 88 of file coerce.cpp.
Referenced by r_coerce< REALSXP, RAWSXP >().
| double Rcpp::internal::r_coerce< INTSXP, REALSXP > | ( | int | from | ) |
Definition at line 56 of file coerce.cpp.
| Rcomplex Rcpp::internal::r_coerce< LGLSXP, CPLXSXP > | ( | int | from | ) |
Definition at line 127 of file coerce.cpp.
| int Rcpp::internal::r_coerce< LGLSXP, INTSXP > | ( | int | from | ) |
Definition at line 34 of file coerce.cpp.
| int Rcpp::internal::r_coerce< LGLSXP, LGLSXP > | ( | int | from | ) |
Definition at line 28 of file coerce.cpp.
| Rbyte Rcpp::internal::r_coerce< LGLSXP, RAWSXP > | ( | int | from | ) |
Definition at line 94 of file coerce.cpp.
| double Rcpp::internal::r_coerce< LGLSXP, REALSXP > | ( | int | from | ) |
Definition at line 53 of file coerce.cpp.
| Rcomplex Rcpp::internal::r_coerce< RAWSXP, CPLXSXP > | ( | Rbyte | from | ) |
Definition at line 121 of file coerce.cpp.
| int Rcpp::internal::r_coerce< RAWSXP, INTSXP > | ( | Rbyte | from | ) |
Definition at line 48 of file coerce.cpp.
| int Rcpp::internal::r_coerce< RAWSXP, LGLSXP > | ( | Rbyte | from | ) |
Definition at line 78 of file coerce.cpp.
| Rbyte Rcpp::internal::r_coerce< RAWSXP, RAWSXP > | ( | Rbyte | from | ) |
Definition at line 31 of file coerce.cpp.
| double Rcpp::internal::r_coerce< RAWSXP, REALSXP > | ( | Rbyte | from | ) |
Definition at line 62 of file coerce.cpp.
| Rcomplex Rcpp::internal::r_coerce< REALSXP, CPLXSXP > | ( | double | from | ) |
Definition at line 99 of file coerce.cpp.
| int Rcpp::internal::r_coerce< REALSXP, INTSXP > | ( | double | from | ) |
Definition at line 37 of file coerce.cpp.
Referenced by r_coerce< CPLXSXP, INTSXP >().
| int Rcpp::internal::r_coerce< REALSXP, LGLSXP > | ( | double | from | ) |
Definition at line 67 of file coerce.cpp.
| Rbyte Rcpp::internal::r_coerce< REALSXP, RAWSXP > | ( | double | from | ) |
Definition at line 84 of file coerce.cpp.
References r_coerce< INTSXP, RAWSXP >().
Referenced by r_coerce< CPLXSXP, RAWSXP >().

| double Rcpp::internal::r_coerce< REALSXP, REALSXP > | ( | double | from | ) |
Definition at line 29 of file coerce.cpp.
| void Rcpp::internal::r_init_vector< EXPRSXP > | ( | SEXP | x | ) |
Definition at line 134 of file RcppCommon.cpp.
| void Rcpp::internal::r_init_vector< STRSXP > | ( | SEXP | x | ) |
Definition at line 135 of file RcppCommon.cpp.
| void Rcpp::internal::r_init_vector< VECSXP > | ( | SEXP | x | ) |
Definition at line 133 of file RcppCommon.cpp.
| SEXP Rcpp::internal::r_true_cast | ( | SEXP | x | ) |
Definition at line 33 of file r_cast.h.
Referenced by Rcpp::r_cast().
| SEXP Rcpp::internal::r_true_cast< CPLXSXP > | ( | SEXP | x | ) |
Definition at line 81 of file r_cast.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< EXPRSXP > | ( | SEXP | x | ) |
Definition at line 123 of file r_cast.cpp.
References convert_using_rfunction(), and x.

| SEXP Rcpp::internal::r_true_cast< INTSXP > | ( | SEXP | x | ) |
Definition at line 28 of file r_cast.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< LANGSXP > | ( | SEXP | x | ) |
Definition at line 143 of file r_cast.cpp.
References convert_using_rfunction(), and x.

| SEXP Rcpp::internal::r_true_cast< LGLSXP > | ( | SEXP | x | ) |
Definition at line 54 of file r_cast.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< LISTSXP > | ( | SEXP | x | ) |
Definition at line 127 of file r_cast.cpp.
References convert_using_rfunction(), PROTECT(), R_NilValue, x, and y.

| SEXP Rcpp::internal::r_true_cast< RAWSXP > | ( | SEXP | x | ) |
Definition at line 67 of file r_cast.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< REALSXP > | ( | SEXP | x | ) |
Definition at line 41 of file r_cast.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< STRSXP > | ( | SEXP | x | ) |
Definition at line 94 of file r_cast.cpp.
References PROTECT(), R_NilValue, and x.

| SEXP Rcpp::internal::r_true_cast< VECSXP > | ( | SEXP | x | ) |
Definition at line 119 of file r_cast.cpp.
References convert_using_rfunction(), and x.

| Rcomplex* Rcpp::internal::r_vector_start< CPLXSXP, Rcomplex > | ( | SEXP | x | ) |
Definition at line 131 of file RcppCommon.cpp.
References x.
| int* Rcpp::internal::r_vector_start< INTSXP, int > | ( | SEXP | x | ) |
Definition at line 127 of file RcppCommon.cpp.
References x.
| int* Rcpp::internal::r_vector_start< LGLSXP, int > | ( | SEXP | x | ) |
Definition at line 128 of file RcppCommon.cpp.
References x.
| Rbyte* Rcpp::internal::r_vector_start< RAWSXP, Rbyte > | ( | SEXP | x | ) |
Definition at line 130 of file RcppCommon.cpp.
References x.
| double* Rcpp::internal::r_vector_start< REALSXP, double > | ( | SEXP | x | ) |
Definition at line 129 of file RcppCommon.cpp.
References x.
| int Rcpp::internal::rcpp_call_test | ( | T | t | ) |
Definition at line 171 of file RcppCommon.h.
Referenced by rcpp_call_test_().
| int Rcpp::internal::rcpp_call_test_ | ( | SEXP | x | ) |
Definition at line 164 of file RcppCommon.cpp.
References rcpp_call_test(), and RCPP_RETURN_VECTOR.
Referenced by rcpp_call_test().

| SEXP Rcpp::internal::try_catch | ( | SEXP | expr | ) |
Definition at line 77 of file Evaluator.cpp.
References Rcpp::Evaluator::run().

| SEXP Rcpp::internal::try_catch | ( | SEXP | expr, |
| SEXP | env | ||
| ) |
Definition at line 74 of file Evaluator.cpp.
References Rcpp::Evaluator::run().
Referenced by Rcpp::Language::eval(), internal::expr_eval_methods< EXPRSXP >::eval(), Rcpp::Reference::FieldProxy::get(), Rcpp::S4::is(), Rcpp::Function::operator()(), Rcpp::Reference::Reference(), and Vector< RTYPE >::NamesProxy::set().
