|
Rcpp Version 0.10.3
|
internal implementation details More...
Classes | |
| class | NamedPlaceHolder |
| class | LazyVector |
| class | LazyVector< Rcpp::Vector< RTYPE > > |
Functions | |
| 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 | wrap_range_sugar_expression (const T &object, Rcpp::traits::true_type) |
| template<typename T > | |
| T | primitive_as (SEXP x) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_primitive_tag) |
| const char * | check_single_string (SEXP x) |
| template<typename T > | |
| T | as_string (SEXP x, Rcpp::traits::true_type) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_string_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_RcppString_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_generic_tag) |
| void * | as_module_object_internal (SEXP) |
| template<typename T > | |
| object< T > | as_module_object (SEXP x) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_module_object_pointer_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_module_object_tag) |
| template<typename T > | |
| T | as (SEXP x,::Rcpp::traits::r_type_enum_tag) |
| SEXP | get_Rcpp_namespace () |
| SEXP | try_catch (SEXP expr, SEXP env) |
| SEXP | try_catch (SEXP expr) |
| template<typename T > | |
| SEXP | grow__dispatch (::Rcpp::traits::false_type, const T &head, SEXP tail) |
| template<typename FROM , typename TO > | |
| std::string | get_converter_name (const char *from, const char *to) |
| template<typename Class > | |
| SEXP | make_new_object (Class *ptr) |
| SEXP | convert_using_rfunction (SEXP x, const char *const fun) |
| 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) |
| void | enterRNGScope () |
| void | exitRNGScope () |
| template<> | |
| SEXP | make_charsexp< Rcpp::String > (const Rcpp::String &s) |
| 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) |
| SEXP | empty_data_frame () |
| template<> | |
| int * | r_vector_start< INTSXP > (SEXP x) |
| template<> | |
| int * | r_vector_start< LGLSXP > (SEXP x) |
| template<> | |
| double * | r_vector_start< REALSXP > (SEXP x) |
| template<> | |
| Rbyte * | r_vector_start< RAWSXP > (SEXP x) |
| template<> | |
| Rcomplex * | r_vector_start< CPLXSXP > (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) |
| 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) |
| int | integer_width (int n) |
| template<> | |
| const char * | coerce_to_string< INTSXP > (int from) |
| template<> | |
| const char * | coerce_to_string< LGLSXP > (int from) |
| template<> | |
| const char * | coerce_to_string< RAWSXP > (Rbyte from) |
| char * | get_string_buffer () |
| SEXP | getPosixClasses () |
| SEXP | new_posixt_object (double d) |
| SEXP | new_date_object (double d) |
internal implementation details
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_primitive_tag | |||
| ) |
Definition at line 42 of file as.h.
References x.
Referenced by require().
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_string_tag | |||
| ) |
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_RcppString_tag | |||
| ) |
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_generic_tag | |||
| ) |
Definition at line 79 of file as.h.
References DEMANGLE, and RCPP_DEBUG_1.
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_module_object_pointer_tag | |||
| ) |
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_module_object_tag | |||
| ) |
| T Rcpp::internal::as | ( | SEXP | x, |
| ::Rcpp::traits::r_type_enum_tag | |||
| ) |
| object<T> Rcpp::internal::as_module_object | ( | SEXP | x | ) |
Definition at line 87 of file as.h.
References as_module_object_internal().

| void * Rcpp::internal::as_module_object_internal | ( | SEXP | obj | ) |
Definition at line 453 of file Module.cpp.
References Rcpp::Environment::get().
Referenced by as_module_object().

| T Rcpp::internal::as_string | ( | SEXP | x, |
| Rcpp::traits::true_type | |||
| ) |
Definition at line 56 of file as.h.
References check_single_string(), and y.

|
inline |
Definition at line 30 of file as_vector.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::get_ref().
Referenced by Rcpp::as_vector().

|
inline |
|
inline |
Definition at line 80 of file Datetime.h.
| std::complex<double> Rcpp::internal::caster< Rcomplex, std::complex< double > > | ( | Rcomplex | from | ) |
| std::complex<float> Rcpp::internal::caster< Rcomplex, std::complex< float > > | ( | Rcomplex | from | ) |
|
inline |
|
inline |
Definition at line 77 of file Datetime.h.
| Rcomplex Rcpp::internal::caster< std::complex< double >, Rcomplex > | ( | std::complex< double > | from | ) |
| Rcomplex Rcpp::internal::caster< std::complex< float >, Rcomplex > | ( | std::complex< float > | from | ) |
|
inline |
Definition at line 46 of file as.h.
Referenced by as_string().
| const char* Rcpp::internal::coerce_to_string< INTSXP > | ( | int | from | ) |
Definition at line 1686 of file api.cpp.
References integer_width(), and NB.

| const char* Rcpp::internal::coerce_to_string< LGLSXP > | ( | int | from | ) |
| const char* Rcpp::internal::coerce_to_string< RAWSXP > | ( | Rbyte | from | ) |
Definition at line 1694 of file api.cpp.
References Rcpp::sprintf().

|
inline |
Definition at line 153 of file complex.h.
References complex__asin().
Referenced by complex__acosh().

|
inline |
Definition at line 186 of file complex.h.
References a, and complex__acos().

|
inline |
Definition at line 137 of file complex.h.
References RCPP_HYPOT, x, and y.
Referenced by complex__acos(), and complex__asinh().
|
inline |
Definition at line 193 of file complex.h.
References a, b, and complex__asin().

|
inline |
|
inline |
Definition at line 203 of file complex.h.
References a, b, and complex__atan().

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 of file complex.h.
References RCPP_HYPOT, and y.
|
inline |
Definition at line 115 of file complex.h.
Referenced by complex__sinh().
|
inline |
Definition at line 212 of file complex.h.
References a, b, and complex__sin().

|
inline |
Definition at line 85 of file complex.h.
References RCPP_HYPOT.
|
inline |
Definition at line 121 of file complex.h.
Referenced by complex__tanh().
|
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 1436 of file api.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().

| void Rcpp::internal::enterRNGScope | ( | ) |
Definition at line 1898 of file api.cpp.
Referenced by Rcpp::RNGScope::RNGScope().
| void Rcpp::internal::exitRNGScope | ( | ) |
Definition at line 1904 of file api.cpp.
Referenced by Rcpp::RNGScope::~RNGScope().
|
inline |
Definition at line 32 of file tools.h.
References get_line(), and i.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().

|
inline |
| std::string Rcpp::internal::get_converter_name | ( | const char * | from, |
| const char * | to | ||
| ) |
|
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 99 of file barrier.cpp.
References get_rcpp_cache().
Referenced by Rcpp::Environment::Rcpp_namespace().

| char* Rcpp::internal::get_string_buffer | ( | ) |
Definition at line 1700 of file api.cpp.
References MAXELTSIZE.
| Rcomplex Rcpp::internal::get_zero< CPLXSXP, Rcomplex > | ( | ) |
| SEXP Rcpp::internal::getPosixClasses | ( | ) |
Definition at line 180 of file Date.cpp.
References PROTECT().
Referenced by new_posixt_object(), and Rcpp::wrap_extra_steps< Rcpp::Datetime >().

|
inline |
Definition at line 36 of file grow.h.
References Rcpp::grow(), and Rcpp::wrap().
Referenced by Rcpp::grow().

|
inline |
Definition at line 1681 of file api.cpp.
Referenced by coerce_to_string< INTSXP >().
|
inline |
| SEXP Rcpp::internal::make_new_object | ( | Class * | ptr | ) |
Definition at line 77 of file Module.h.
References Rcpp::Environment::Rcpp_namespace().

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

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

| T Rcpp::internal::primitive_as | ( | SEXP | x | ) |
| Rcomplex Rcpp::internal::r_coerce< CPLXSXP, CPLXSXP > | ( | Rcomplex | from | ) |
| int Rcpp::internal::r_coerce< CPLXSXP, INTSXP > | ( | Rcomplex | from | ) |
Definition at line 1587 of file api.cpp.
References r_coerce< REALSXP, INTSXP >().

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

| double Rcpp::internal::r_coerce< CPLXSXP, REALSXP > | ( | Rcomplex | from | ) |
| Rcomplex Rcpp::internal::r_coerce< INTSXP, CPLXSXP > | ( | int | from | ) |
| int Rcpp::internal::r_coerce< INTSXP, INTSXP > | ( | int | from | ) |
| int Rcpp::internal::r_coerce< INTSXP, LGLSXP > | ( | int | from | ) |
| Rbyte Rcpp::internal::r_coerce< INTSXP, RAWSXP > | ( | int | from | ) |
Definition at line 1630 of file api.cpp.
Referenced by r_coerce< REALSXP, RAWSXP >().
| double Rcpp::internal::r_coerce< INTSXP, REALSXP > | ( | int | from | ) |
| Rcomplex Rcpp::internal::r_coerce< LGLSXP, CPLXSXP > | ( | int | from | ) |
| int Rcpp::internal::r_coerce< LGLSXP, INTSXP > | ( | int | from | ) |
| int Rcpp::internal::r_coerce< LGLSXP, LGLSXP > | ( | int | from | ) |
| Rbyte Rcpp::internal::r_coerce< LGLSXP, RAWSXP > | ( | int | from | ) |
| double Rcpp::internal::r_coerce< LGLSXP, REALSXP > | ( | int | from | ) |
| Rcomplex Rcpp::internal::r_coerce< RAWSXP, CPLXSXP > | ( | Rbyte | from | ) |
| int Rcpp::internal::r_coerce< RAWSXP, INTSXP > | ( | Rbyte | from | ) |
| int Rcpp::internal::r_coerce< RAWSXP, LGLSXP > | ( | Rbyte | from | ) |
| Rbyte Rcpp::internal::r_coerce< RAWSXP, RAWSXP > | ( | Rbyte | from | ) |
| double Rcpp::internal::r_coerce< RAWSXP, REALSXP > | ( | Rbyte | from | ) |
| Rcomplex Rcpp::internal::r_coerce< REALSXP, CPLXSXP > | ( | double | from | ) |
| int Rcpp::internal::r_coerce< REALSXP, INTSXP > | ( | double | from | ) |
Definition at line 1579 of file api.cpp.
Referenced by r_coerce< CPLXSXP, INTSXP >().
| int Rcpp::internal::r_coerce< REALSXP, LGLSXP > | ( | double | from | ) |
| Rbyte Rcpp::internal::r_coerce< REALSXP, RAWSXP > | ( | double | from | ) |
Definition at line 1626 of file api.cpp.
References r_coerce< INTSXP, RAWSXP >().
Referenced by r_coerce< CPLXSXP, RAWSXP >().

| double Rcpp::internal::r_coerce< REALSXP, REALSXP > | ( | double | from | ) |
| void Rcpp::internal::r_init_vector< EXPRSXP > | ( | SEXP | x | ) |
| void Rcpp::internal::r_init_vector< STRSXP > | ( | SEXP | x | ) |
| void Rcpp::internal::r_init_vector< VECSXP > | ( | SEXP | x | ) |
| SEXP Rcpp::internal::r_true_cast | ( | SEXP | x | ) |
Definition at line 36 of file r_cast.h.
Referenced by Rcpp::r_cast().
| SEXP Rcpp::internal::r_true_cast< CPLXSXP > | ( | SEXP | x | ) |
Definition at line 1799 of file api.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< EXPRSXP > | ( | SEXP | x | ) |
Definition at line 1841 of file api.cpp.
References convert_using_rfunction(), and x.

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

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

| SEXP Rcpp::internal::r_true_cast< RAWSXP > | ( | SEXP | x | ) |
Definition at line 1785 of file api.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< REALSXP > | ( | SEXP | x | ) |
Definition at line 1759 of file api.cpp.
References R_NilValue, and x.
| SEXP Rcpp::internal::r_true_cast< STRSXP > | ( | SEXP | x | ) |
Definition at line 1812 of file api.cpp.
References PROTECT(), R_NilValue, and x.

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

| Rcomplex* Rcpp::internal::r_vector_start< CPLXSXP > | ( | SEXP | x | ) |
Definition at line 1400 of file api.cpp.
References RCPP_DEBUG_1, and x.
| int* Rcpp::internal::r_vector_start< INTSXP > | ( | SEXP | x | ) |
Definition at line 1384 of file api.cpp.
References RCPP_DEBUG_1, and x.
| int* Rcpp::internal::r_vector_start< LGLSXP > | ( | SEXP | x | ) |
Definition at line 1388 of file api.cpp.
References RCPP_DEBUG_1, and x.
| Rbyte* Rcpp::internal::r_vector_start< RAWSXP > | ( | SEXP | x | ) |
Definition at line 1396 of file api.cpp.
References RCPP_DEBUG_1, and x.
| double* Rcpp::internal::r_vector_start< REALSXP > | ( | SEXP | x | ) |
Definition at line 1392 of file api.cpp.
References RCPP_DEBUG_1, and x.
| SEXP Rcpp::internal::try_catch | ( | SEXP | expr, |
| SEXP | env | ||
| ) |
Definition at line 1447 of file api.cpp.
References Rcpp::Evaluator::run().
Referenced by Rcpp::Language::eval(), Rcpp::Reference::FieldProxy::get(), Rcpp::Reference::ConstFieldProxy::get(), Rcpp::Function::operator()(), Rcpp::Reference::Reference(), and Vector< RTYPE >::NamesProxy::set().

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

|
inline |
Definition at line 726 of file Vector.h.
References DEMANGLE, and RCPP_DEBUG_1.