|
Rcpp Version 0.9.10
|
Namespaces | |
| namespace | internal |
internal implementation details | |
| namespace | stats |
| namespace | sugar |
| namespace | traits |
traits used to dispatch wrap | |
Classes | |
| class | DataFrame |
| class | Date |
| class | Datetime |
| class | DatetimeVector |
| class | DateVector |
| class | Dimension |
| class | DottedPair |
| class | Environment |
| class | Evaluator |
| class | exception |
| class | no_such_env |
| class | Fast |
| class | Formula |
| class | Function |
| class | Generator |
| class | Generator< false, T > |
| class | RNGScope |
| class | InternalFunction |
| class | Rostream |
| class | Rstreambuf |
| class | Language |
| class | fixed_call |
| class | unary_call |
| class | binary_call |
| class | result |
| class | CppFunction |
| class | class_Base |
| class | Module |
| class | CppMethod |
| class | SignedConstructor |
| class | SignedMethod |
| class | S4_CppConstructor |
| class | S4_CppOverloadedMethods |
| class | CppProperty |
| class | CppFinalizer |
| class | FunctionFinalizer |
| class | S4_field |
| class | class_ |
| class | CppClass |
| class | CppObject |
| class | Argument |
| class | Pairlist |
| class | Promise |
| class | Reference |
| class | RObject |
| class | S4 |
| class | StringTransformer |
| struct | can_have_na |
| class | Range |
| class | Symbol |
| class | MatrixBase |
| class | VectorBase |
| class | WeakReference |
| class | XPtr |
| struct | tzhead |
| struct | ttinfo |
| struct | lsinfo |
| struct | state |
| struct | rule |
Typedefs | |
| typedef bool(* | ValidConstructor )(SEXP *, int) |
| typedef bool(* | ValidMethod )(SEXP *, int) |
Functions | |
| template<class InputIterator , class T > | |
| bool | __any (InputIterator first, InputIterator last, const T &value, std::input_iterator_tag) |
| template<class RandomAccessIterator , class T > | |
| bool | __any (RandomAccessIterator __first, RandomAccessIterator __last, const T &__val, std::random_access_iterator_tag) |
| template<class InputIterator , class T > | |
| bool | any (InputIterator first, InputIterator last, const T &value) |
| template<class InputIterator , class Predicate > | |
| bool | __any_if (InputIterator first, InputIterator last, Predicate pred, std::input_iterator_tag) |
| template<class RandomAccessIterator , class Predicate > | |
| bool | __any_if (RandomAccessIterator __first, RandomAccessIterator __last, Predicate __pred, std::random_access_iterator_tag) |
| template<class InputIterator , class Predicate > | |
| bool | any_if (InputIterator first, InputIterator last, Predicate pred) |
| template<typename T > | |
| T | as (SEXP m_sexp) |
| template<> | |
| SEXP | as (SEXP m_sexp) |
| template<typename T > | |
| T | clone (const T &object) |
| template<> | |
| SEXP | wrap< Rcpp::Date > (const Rcpp::Date &date) |
| template<> | |
| SEXP | wrap_extra_steps< Rcpp::Date > (SEXP x) |
| template<> | |
| SEXP | wrap< Rcpp::Datetime > (const Rcpp::Datetime &dt) |
| template<> | |
| SEXP | wrap_extra_steps< Rcpp::Datetime > (SEXP x) |
| static std::string | toString (const int i) |
| SEXP | pairlist () |
| template<typename T > | |
| SEXP | grow (const T &head, SEXP tail) |
| Argument | Named (const std::string &name) |
| template<typename T > | |
| traits::named_object< T > | Named (const std::string &name, const T &o) |
| template<int TARGET> | |
| SEXP | r_cast (SEXP x) |
| template<int MAX_SIZE> | |
| std::string | sprintf (const char *format,...) |
| template<bool NA, typename T > | |
| stats::D1< REALSXP, NA, T > | dexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool log=false) |
| template<bool NA, typename T > | |
| stats::P1< REALSXP, NA, T > | pexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool lower=true, bool log=false) |
| template<bool NA, typename T > | |
| stats::Q1< REALSXP, NA, T > | qexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool lower=true, bool log=false) |
| NumericVector | rbeta (int n, double a, double b) |
| NumericVector | rbinom (int n, double nin, double pp) |
| NumericVector | rcauchy (int n, double location, double scale) |
| NumericVector | rcauchy (int n, double location) |
| NumericVector | rcauchy (int n) |
| NumericVector | rchisq (int n, double df) |
| NumericVector | rexp (int n, double rate) |
| NumericVector | rexp (int n) |
| NumericVector | rf (int n, double n1, double n2) |
| NumericVector | rgamma (int n, double a, double scale) |
| NumericVector | rgeom (int n, double p) |
| NumericVector | rhyper (int n, double nn1, double nn2, double kk) |
| NumericVector | rlnorm (int n, double meanlog, double sdlog) |
| NumericVector | rlnorm (int n, double meanlog) |
| NumericVector | rlnorm (int n) |
| NumericVector | rlogis (int n, double location, double scale) |
| NumericVector | rlogis (int n, double location) |
| NumericVector | rlogis (int n) |
| NumericVector | rnbinom (int n, double siz, double prob) |
| NumericVector | rnbinom_mu (int n, double siz, double mu) |
| NumericVector | rnchisq (int n, double df, double lambda) |
| NumericVector | rnchisq (int n, double df) |
| NumericVector | rnorm (int n, double mean, double sd) |
| NumericVector | rnorm (int n, double mean) |
| NumericVector | rnorm (int n) |
| NumericVector | rpois (int n, double mu) |
| NumericVector | rsignrank (int n, double nn) |
| NumericVector | rt (int n, double df) |
| NumericVector | runif (int n, double min, double max) |
| NumericVector | runif (int n, double min) |
| NumericVector | runif (int n) |
| NumericVector | rweibull (int n, double shape, double scale) |
| NumericVector | rwilcox (int n, double mm, double nn) |
| template<typename UnaryOperator > | |
| StringTransformer< UnaryOperator > | make_string_transformer (const UnaryOperator &fun) |
| template<bool NA, typename T > | |
| sugar::All< NA, T > | all (const Rcpp::VectorBase< LGLSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Any< NA, T > | any (const Rcpp::VectorBase< LGLSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Cumsum< INTSXP, NA, T > | cumsum (const VectorBase< INTSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Cumsum< REALSXP, NA, T > | cumsum (const VectorBase< REALSXP, NA, T > &t) |
| template<bool LHS_NA, typename LHS_T > | |
| sugar::Diff< INTSXP, LHS_NA, LHS_T > | diff (const VectorBase< INTSXP, LHS_NA, LHS_T > &lhs) |
| template<bool LHS_NA, typename LHS_T > | |
| sugar::Diff< REALSXP, LHS_NA, LHS_T > | diff (const VectorBase< REALSXP, LHS_NA, LHS_T > &lhs) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Head< RTYPE, NA, T > | head (const VectorBase< RTYPE, NA, T > &t, int n) |
| template<int RTYPE, bool COND_NA, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T > | |
| sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T > | |
| sugar::IfElse_Primitive_Vector < RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, typename traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T > | |
| sugar::IfElse_Vector_Primitive < RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &lhs, typename traits::storage_type< RTYPE >::type rhs) |
| template<bool COND_NA, typename COND_T > | |
| sugar::IfElse_Primitive_Primitive < REALSXP, COND_NA, COND_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, double lhs, double rhs) |
| template<bool COND_NA, typename COND_T > | |
| sugar::IfElse_Primitive_Primitive < INTSXP, COND_NA, COND_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, int lhs, int rhs) |
| template<bool COND_NA, typename COND_T > | |
| sugar::IfElse_Primitive_Primitive < CPLXSXP, COND_NA, COND_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, Rcomplex lhs, Rcomplex rhs) |
| template<bool COND_NA, typename COND_T > | |
| sugar::IfElse_Primitive_Primitive < LGLSXP, COND_NA, COND_T > | ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, bool lhs, bool rhs) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::IsNa< RTYPE, NA, T > | is_na (const Rcpp::VectorBase< RTYPE, NA, T > &t) |
| template<int RTYPE, bool NA, typename T , typename Function > | |
| sugar::Lapply< RTYPE, NA, T, Function > | lapply (const Rcpp::VectorBase< RTYPE, NA, T > &t, Function fun) |
| template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function > | |
| sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Function > | mapply (const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, Function fun) |
| template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , bool NA_3, typename T_3 , typename Function > | |
| sugar::Mapply_3< RTYPE, NA_1, T_1, NA_2, T_2, NA_3, T_3, Function > | mapply (const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, const Rcpp::VectorBase< RTYPE, NA_3, T_3 > &t3, Function fun) |
| template<bool NA, typename T > | |
| sugar::Mean< REALSXP, NA, T > | mean (const VectorBase< REALSXP, NA, T > &t) |
| template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T > | |
| sugar::Pmax_Vector_Vector < RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > | pmax (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::Pmax_Vector_Primitive < RTYPE, LHS_NA, LHS_T > | pmax (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, typename Rcpp::traits::storage_type< RTYPE >::type rhs) |
| template<int RTYPE, bool RHS_NA, typename RHS_T > | |
| sugar::Pmax_Vector_Primitive < RTYPE, RHS_NA, RHS_T > | pmax (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T > | |
| sugar::Pmin_Vector_Vector < RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > | pmin (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::Pmin_Vector_Primitive < RTYPE, LHS_NA, LHS_T > | pmin (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, typename Rcpp::traits::storage_type< RTYPE >::type rhs) |
| template<int RTYPE, bool RHS_NA, typename RHS_T > | |
| sugar::Pmin_Vector_Primitive < RTYPE, RHS_NA, RHS_T > | pmin (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs) |
| template<bool NA, typename T , typename EXPONENT_TYPE > | |
| sugar::Pow< INTSXP, NA, T, EXPONENT_TYPE > | pow (const VectorBase< INTSXP, NA, T > &t, EXPONENT_TYPE exponent) |
| template<bool NA, typename T , typename EXPONENT_TYPE > | |
| sugar::Pow< REALSXP, NA, T, EXPONENT_TYPE > | pow (const VectorBase< REALSXP, NA, T > &t, EXPONENT_TYPE exponent) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Rep< RTYPE, NA, T > | rep (const VectorBase< RTYPE, NA, T > &t, int n) |
| sugar::Rep_Single< double > | rep (const double &x, int n) |
| sugar::Rep_Single< int > | rep (const int &x, int n) |
| sugar::Rep_Single< Rbyte > | rep (const Rbyte &x, int n) |
| sugar::Rep_Single< Rcomplex > | rep (const Rcomplex &x, int n) |
| sugar::Rep_Single< bool > | rep (const bool &x, int n) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Rep_each< RTYPE, NA, T > | rep_each (const VectorBase< RTYPE, NA, T > &t, int times) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Rep_len< RTYPE, NA, T > | rep_len (const VectorBase< RTYPE, NA, T > &t, int len) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Rev< RTYPE, NA, T > | rev (const VectorBase< RTYPE, NA, T > &t) |
| template<int RTYPE, bool NA, typename T , typename Function > | |
| sugar::Sapply< RTYPE, NA, T, Function, traits::same_type < typename::Rcpp::traits::result_of < Function >::type, typename Rcpp::traits::storage_type < traits::r_sexptype_traits < typename::Rcpp::traits::result_of < Function >::type >::rtype > ::type >::value > | sapply (const Rcpp::VectorBase< RTYPE, NA, T > &t, Function fun) |
| template<bool NA, typename T > | |
| sugar::Sd< REALSXP, NA, T > | sd (const VectorBase< REALSXP, NA, T > &t) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::SeqLen | seq_along (const Rcpp::VectorBase< RTYPE, NA, T > &t) |
| sugar::SeqLen | seq_len (const size_t &n) |
| Range | seq (int start, int end) |
| template<bool NA, typename T > | |
| sugar::Sign< INTSXP, NA, T > | sign (const VectorBase< INTSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Sign< REALSXP, NA, T > | sign (const VectorBase< REALSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Sum< INTSXP, NA, T > | sum (const VectorBase< INTSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Sum< REALSXP, NA, T > | sum (const VectorBase< REALSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| sugar::Sum< LGLSXP, NA, T > | sum (const VectorBase< LGLSXP, NA, T > &t) |
| template<int RTYPE, bool NA, typename T > | |
| sugar::Tail< RTYPE, NA, T > | tail (const VectorBase< RTYPE, NA, T > &t, int n) |
| template<bool NA, typename T > | |
| sugar::Var< REALSXP, NA, T > | var (const VectorBase< REALSXP, NA, T > &t) |
| template<bool NA, typename T > | |
| bool | is_true (const Rcpp::sugar::SingleLogicalResult< NA, T > &x) |
| template<bool NA, typename T > | |
| bool | is_false (const Rcpp::sugar::SingleLogicalResult< NA, T > &x) |
| template<bool NA, typename T > | |
| bool | is_na (const Rcpp::sugar::SingleLogicalResult< NA, T > &x) |
| template<int RTYPE, bool NA, typename T > | |
| Rcpp::Vector< RTYPE > | as_vector (const MatrixBase< RTYPE, NA, T > &t) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::Col< RTYPE, LHS_NA, LHS_T > | col (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs) |
| template<typename T > | |
| sugar::diag_result_type_trait < T >::type | diag (const T &t) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::LowerTri< RTYPE, LHS_NA, LHS_T > | lower_tri (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs, bool diag=false) |
| template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function > | |
| sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > | outer (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs, Function fun) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::Row< RTYPE, LHS_NA, LHS_T > | row (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs) |
| template<int RTYPE, bool LHS_NA, typename LHS_T > | |
| sugar::UpperTri< RTYPE, LHS_NA, LHS_T > | upper_tri (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs, bool diag=false) |
| template<int RTYPE, bool NA, typename VECTOR > | |
| sugar::Nona< RTYPE, NA, VECTOR > | noNA (const Rcpp::VectorBase< RTYPE, NA, VECTOR > &vec) |
| sugar::NonaPrimitive< double > | noNA (double x) |
| sugar::NonaPrimitive< int > | noNA (int x) |
| template<typename T > | |
| void | delete_finalizer (SEXP p) |
| template<typename T > | |
| void | standard_delete_finalizer (T *obj) |
| template<typename T , void Finalizer> | |
| void | finalizer_wrapper (SEXP p) |
| bool | Rboolean_to_bool (int x) |
| bool | int_to_bool (int x) |
| bool | double_to_bool (double x) |
| bool | Rbyte_to_bool (Rbyte x) |
| static struct tm * | gmtime_ (const time_t *const timep) |
| Date | operator+ (const Date &date, int offset) |
| int | operator- (const Date &d1, const Date &d2) |
| bool | operator< (const Date &d1, const Date &d2) |
| bool | operator> (const Date &d1, const Date &d2) |
| bool | operator== (const Date &d1, const Date &d2) |
| bool | operator>= (const Date &d1, const Date &d2) |
| bool | operator<= (const Date &d1, const Date &d2) |
| bool | operator!= (const Date &d1, const Date &d2) |
| template<> | |
| SEXP | wrap (const Date &date) |
| static int | tzparse (const char *name, struct state *sp, int lastditch) |
| static int | typesequiv (const struct state *sp, int a, int b) |
| static const char * | getsecs (const char *strp, long *secsp) |
| static const char * | getnum (const char *strp, int *const nump, const int min, const int max) |
| static const char * | getrule (const char *strp, struct rule *const rulep) |
| static time_t | transtime (const time_t janfirst, const int year, const struct rule *const rulep, const long offset) |
| static struct tm * | timesub (const time_t *const timep, const long offset, const struct state *const sp, struct tm *const tmp) |
| static int | leaps_thru_end_of (const int y) |
| static int | increment_overflow (int *number, int delta) |
| static long | detzcode (const char *const codep) |
| static time_t | detzcode64 (const char *const codep) |
| static int | differ_by_repeat (const time_t t1, const time_t t0) |
| static const char * | getzname (const char *strp) |
| static const char * | getqzname (const char *strp, const int delim) |
| static const char * | getoffset (const char *strp, long *const offsetp) |
| static int | tzload (const char *name, struct state *const sp, const int doextend) |
| static void | gmtload (struct state *const sp) |
| static struct tm * | gmtsub (const time_t *const timep, const long offset, struct tm *const tmp) |
| Datetime | operator+ (const Datetime &datetime, double offset) |
| double | operator- (const Datetime &d1, const Datetime &d2) |
| bool | operator< (const Datetime &d1, const Datetime &d2) |
| bool | operator> (const Datetime &d1, const Datetime &d2) |
| bool | operator== (const Datetime &d1, const Datetime &d2) |
| bool | operator>= (const Datetime &d1, const Datetime &d2) |
| bool | operator<= (const Datetime &d1, const Datetime &d2) |
| bool | operator!= (const Datetime &d1, const Datetime &d2) |
| template<> | |
| SEXP | wrap (const Datetime &date) |
Variables | |
| Rostream | Rcout |
| static internal::NamedPlaceHolder | _ |
| static const char | gmt [] = "GMT" |
| static const int | mon_lengths [2][MONSPERYEAR] |
| static const int | year_lengths [2] |
| static int | gmt_is_set |
| static struct state | gmtmem |
| static struct tm | tm |
| static Module * | current_scope |
Rcpp API.
| typedef bool(* Rcpp::ValidConstructor)(SEXP *, int) |
| typedef bool(* Rcpp::ValidMethod)(SEXP *, int) |
| bool Rcpp::__any | ( | InputIterator | first, |
| InputIterator | last, | ||
| const T & | value, | ||
| std::input_iterator_tag | |||
| ) | [inline] |
| bool Rcpp::__any | ( | RandomAccessIterator | __first, |
| RandomAccessIterator | __last, | ||
| const T & | __val, | ||
| std::random_access_iterator_tag | |||
| ) | [inline] |
| bool Rcpp::__any_if | ( | InputIterator | first, |
| InputIterator | last, | ||
| Predicate | pred, | ||
| std::input_iterator_tag | |||
| ) | [inline] |
| bool Rcpp::__any_if | ( | RandomAccessIterator | __first, |
| RandomAccessIterator | __last, | ||
| Predicate | __pred, | ||
| std::random_access_iterator_tag | |||
| ) | [inline] |
| sugar::All<NA,T> Rcpp::all | ( | const Rcpp::VectorBase< LGLSXP, NA, T > & | t | ) | [inline] |
Definition at line 84 of file all.h.
Referenced by Rcpp::Environment::ls().
| bool Rcpp::any | ( | InputIterator | first, |
| InputIterator | last, | ||
| const T & | value | ||
| ) | [inline] |
stl like algorithm to identify if any of the objects in the range is equal to the value
Definition at line 89 of file algo.h.
References __any().
Referenced by Rcpp::S4::is().

| sugar::Any<NA,T> Rcpp::any | ( | const Rcpp::VectorBase< LGLSXP, NA, T > & | t | ) | [inline] |
| bool Rcpp::any_if | ( | InputIterator | first, |
| InputIterator | last, | ||
| Predicate | pred | ||
| ) | [inline] |
stl-like algorithm to identify if the predicate is true for any of the objects in the range
Definition at line 155 of file algo.h.
References __any_if().

| T Rcpp::as | ( | SEXP | m_sexp | ) |
Generic converted from SEXP to the typename. T can be any type that has a constructor taking a SEXP, which is the case for all our RObject and derived classes.
If it is not possible to add the SEXP constructor, e.g you don't control the type, you can specialize the as template to perform the requested conversion
This is used for example in Environment, so that for example the code below will work as long as there is a way to as<> the Foo type
Environment x = ... ; // some environment Foo y = x["bla"] ; // if as<Foo> makes sense then this works !!
Definition at line 74 of file as.h.
Referenced by CppProperty_GetPointer_SetPointer< Class, PROP >::set(), CppProperty_GetPointer_SetMethod< Class, PROP >::set(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::set(), CppProperty_GetMethod_SetPointer< Class, PROP >::set(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::set(), and CppProperty_GetMethod_SetMethod< Class, PROP >::set().
| Rcpp::Vector<RTYPE> Rcpp::as_vector | ( | const MatrixBase< RTYPE, NA, T > & | t | ) | [inline] |
Definition at line 55 of file as_vector.h.
References Rcpp::internal::as_vector__impl().

| T Rcpp::clone | ( | const T & | object | ) |
| sugar::Col<RTYPE,LHS_NA,LHS_T> Rcpp::col | ( | const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & | lhs | ) | [inline] |
| sugar::Cumsum<INTSXP,NA,T> Rcpp::cumsum | ( | const VectorBase< INTSXP, NA, T > & | t | ) | [inline] |
| sugar::Cumsum<REALSXP,NA,T> Rcpp::cumsum | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
| static long Rcpp::detzcode | ( | const char *const | codep | ) | [static] |
| static time_t Rcpp::detzcode64 | ( | const char *const | codep | ) | [static] |
| stats::D1<REALSXP,NA,T> Rcpp::dexp | ( | const Rcpp::VectorBase< REALSXP, NA, T > & | x, |
| double | shape, | ||
| bool | log = false |
||
| ) | [inline] |
| sugar::diag_result_type_trait<T>::type Rcpp::diag | ( | const T & | t | ) | [inline] |
Definition at line 83 of file diag.h.
Referenced by lower_tri(), and upper_tri().
| sugar::Diff<INTSXP,LHS_NA,LHS_T> Rcpp::diff | ( | const VectorBase< INTSXP, LHS_NA, LHS_T > & | lhs | ) | [inline] |
Definition at line 110 of file diff.h.
Referenced by Rcpp::sugar::Diff< RTYPE, false, LHS_T >::operator[]().
| sugar::Diff<REALSXP,LHS_NA,LHS_T> Rcpp::diff | ( | const VectorBase< REALSXP, LHS_NA, LHS_T > & | lhs | ) | [inline] |
| static int Rcpp::differ_by_repeat | ( | const time_t | t1, |
| const time_t | t0 | ||
| ) | [static] |
Definition at line 503 of file Date.cpp.
References SECSPERREPEAT, SECSPERREPEAT_BITS, TYPE_BIT, TYPE_INTEGRAL, and TYPE_SIGNED.
Referenced by tzload().
| bool Rcpp::double_to_bool | ( | double | x | ) | [inline] |
Definition at line 218 of file RcppCommon.h.
| void Rcpp::finalizer_wrapper | ( | SEXP | p | ) |
| static const char * Rcpp::getnum | ( | const char * | strp, |
| int *const | nump, | ||
| const int | min, | ||
| const int | max | ||
| ) | [static] |
| static const char* Rcpp::getoffset | ( | const char * | strp, |
| long *const | offsetp | ||
| ) | [static] |
| static const char* Rcpp::getqzname | ( | const char * | strp, |
| const int | delim | ||
| ) | [static] |
| static const char * Rcpp::getrule | ( | const char * | strp, |
| struct rule *const | rulep | ||
| ) | [static] |
Definition at line 594 of file Date.cpp.
References DAY_OF_YEAR, DAYSPERLYEAR, DAYSPERNYEAR, DAYSPERWEEK, getnum(), getsecs(), is_digit, JULIAN_DAY, MONSPERYEAR, MONTH_NTH_DAY_OF_WEEK, Rcpp::rule::r_day, Rcpp::rule::r_mon, Rcpp::rule::r_time, Rcpp::rule::r_type, Rcpp::rule::r_week, and SECSPERHOUR.
Referenced by tzparse().

| static const char * Rcpp::getsecs | ( | const char * | strp, |
| long * | secsp | ||
| ) | [static] |
Definition at line 544 of file Date.cpp.
References DAYSPERWEEK, getnum(), HOURSPERDAY, MINSPERHOUR, SECSPERHOUR, and SECSPERMIN.
Referenced by getoffset(), and getrule().

| static const char* Rcpp::getzname | ( | const char * | strp | ) | [static] |
| static struct tm * Rcpp::gmtime_ | ( | const time_t *const | timep | ) | [static, read] |
Definition at line 1359 of file Date.cpp.
Referenced by operator+(), and Rcpp::Date::update_tm().

| static void Rcpp::gmtload | ( | struct state *const | sp | ) | [static] |
| static struct tm* Rcpp::gmtsub | ( | const time_t *const | timep, |
| const long | offset, | ||
| struct tm *const | tmp | ||
| ) | [static, read] |
| SEXP Rcpp::grow | ( | const T & | head, |
| SEXP | tail | ||
| ) |
grows a pairlist. First wrap the head into a SEXP, then grow the tail pairlist
Definition at line 60 of file grow.h.
References Rcpp::internal::grow__dispatch().
Referenced by Rcpp::DottedPair::insert(), Rcpp::DottedPair::push_back(), and Rcpp::DottedPair::push_front().

| sugar::Head<RTYPE,NA,T> Rcpp::head | ( | const VectorBase< RTYPE, NA, T > & | t, |
| int | n | ||
| ) | [inline] |
| sugar::IfElse< RTYPE,COND_NA,COND_T,LHS_NA,LHS_T,RHS_NA,RHS_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, | ||
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
Definition at line 342 of file ifelse.h.
Referenced by library().
| sugar::IfElse_Primitive_Vector< RTYPE,COND_NA,COND_T,RHS_NA,RHS_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| typename traits::storage_type< RTYPE >::type | lhs, | ||
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
| sugar::IfElse_Vector_Primitive< RTYPE,COND_NA,COND_T,RHS_NA,RHS_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | lhs, | ||
| typename traits::storage_type< RTYPE >::type | rhs | ||
| ) | [inline] |
| sugar::IfElse_Primitive_Primitive< REALSXP,COND_NA,COND_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| double | lhs, | ||
| double | rhs | ||
| ) | [inline] |
| sugar::IfElse_Primitive_Primitive< INTSXP,COND_NA,COND_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| int | lhs, | ||
| int | rhs | ||
| ) | [inline] |
| sugar::IfElse_Primitive_Primitive< CPLXSXP,COND_NA,COND_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| Rcomplex | lhs, | ||
| Rcomplex | rhs | ||
| ) | [inline] |
| sugar::IfElse_Primitive_Primitive< LGLSXP,COND_NA,COND_T > Rcpp::ifelse | ( | const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > & | cond, |
| bool | lhs, | ||
| bool | rhs | ||
| ) | [inline] |
| static int Rcpp::increment_overflow | ( | int * | number, |
| int | delta | ||
| ) | [static] |
| bool Rcpp::int_to_bool | ( | int | x | ) | [inline] |
Definition at line 217 of file RcppCommon.h.
| bool Rcpp::is_false | ( | const Rcpp::sugar::SingleLogicalResult< NA, T > & | x | ) | [inline] |
| sugar::IsNa<RTYPE,NA,T> Rcpp::is_na | ( | const Rcpp::VectorBase< RTYPE, NA, T > & | t | ) | [inline] |
| bool Rcpp::is_na | ( | const Rcpp::sugar::SingleLogicalResult< NA, T > & | x | ) | [inline] |
| bool Rcpp::is_true | ( | const Rcpp::sugar::SingleLogicalResult< NA, T > & | x | ) | [inline] |
| sugar::Lapply<RTYPE,NA,T,Function> Rcpp::lapply | ( | const Rcpp::VectorBase< RTYPE, NA, T > & | t, |
| Function | fun | ||
| ) | [inline] |
| static int Rcpp::leaps_thru_end_of | ( | const int | y | ) | [static] |
| sugar::LowerTri<RTYPE,LHS_NA,LHS_T> Rcpp::lower_tri | ( | const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| bool | diag = false |
||
| ) | [inline] |
Definition at line 75 of file lower_tri.h.
References diag().

| StringTransformer<UnaryOperator> Rcpp::make_string_transformer | ( | const UnaryOperator & | fun | ) |
Definition at line 47 of file StringTransformer.h.
| sugar::Mapply_3<RTYPE,NA_1,T_1,NA_2,T_2,NA_3,T_3,Function> Rcpp::mapply | ( | const Rcpp::VectorBase< RTYPE, NA_1, T_1 > & | t1, |
| const Rcpp::VectorBase< RTYPE, NA_2, T_2 > & | t2, | ||
| const Rcpp::VectorBase< RTYPE, NA_3, T_3 > & | t3, | ||
| Function | fun | ||
| ) | [inline] |
Definition at line 71 of file mapply_3.h.
| sugar::Mapply_2<RTYPE,NA_1,T_1,NA_2,T_2,Function> Rcpp::mapply | ( | const Rcpp::VectorBase< RTYPE, NA_1, T_1 > & | t1, |
| const Rcpp::VectorBase< RTYPE, NA_2, T_2 > & | t2, | ||
| Function | fun | ||
| ) | [inline] |
Definition at line 67 of file mapply_2.h.
| sugar::Mean<REALSXP,NA,T> Rcpp::mean | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
Definition at line 46 of file mean.h.
Referenced by Rcpp::sugar::Var< RTYPE, NA, T >::get().
| Argument Rcpp::Named | ( | const std::string & | name | ) | [inline] |
Definition at line 40 of file Named.h.
Referenced by Rcpp::Module::invoke(), and test_named().
| traits::named_object<T> Rcpp::Named | ( | const std::string & | name, |
| const T & | o | ||
| ) | [inline] |
| sugar::NonaPrimitive<double> Rcpp::noNA | ( | double | x | ) | [inline] |
| sugar::Nona<RTYPE,NA,VECTOR> Rcpp::noNA | ( | const Rcpp::VectorBase< RTYPE, NA, VECTOR > & | vec | ) | [inline] |
Definition at line 74 of file nona.h.
Referenced by convolve11cpp().
| sugar::NonaPrimitive<int> Rcpp::noNA | ( | int | x | ) | [inline] |
| bool Rcpp::operator!= | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 160 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator!= | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 91 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| Datetime Rcpp::operator+ | ( | const Datetime & | datetime, |
| double | offset | ||
| ) |
Definition at line 76 of file Datetime.cpp.
References Rcpp::Datetime::m_dt, Rcpp::Datetime::m_tm, and Rcpp::Datetime::m_us.
| Date Rcpp::operator+ | ( | const Date & | date, |
| int | offset | ||
| ) |
Definition at line 145 of file Date.cpp.
References gmtime_(), Rcpp::Date::m_d, and Rcpp::Date::m_tm.

| int Rcpp::operator- | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 154 of file Date.cpp.
References Rcpp::Date::m_d.
| double Rcpp::operator- | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 85 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| bool Rcpp::operator< | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 155 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator< | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 86 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| bool Rcpp::operator<= | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 159 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator<= | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 90 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| bool Rcpp::operator== | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 157 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator== | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 88 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| bool Rcpp::operator> | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 156 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator> | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 87 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| bool Rcpp::operator>= | ( | const Date & | d1, |
| const Date & | d2 | ||
| ) |
Definition at line 158 of file Date.cpp.
References Rcpp::Date::m_d.
| bool Rcpp::operator>= | ( | const Datetime & | d1, |
| const Datetime & | d2 | ||
| ) |
Definition at line 89 of file Datetime.cpp.
References Rcpp::Datetime::m_dt.
| sugar::Outer<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T,Function> Rcpp::outer | ( | const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs, | ||
| Function | fun | ||
| ) | [inline] |
| SEXP Rcpp::pairlist | ( | ) | [inline] |
Definition at line 30 of file grow.h.
References R_NilValue.
Referenced by Rcpp::DottedPair::push_back(), and Rcpp::DottedPair::replace().
| stats::P1<REALSXP,NA,T> Rcpp::pexp | ( | const Rcpp::VectorBase< REALSXP, NA, T > & | x, |
| double | shape, | ||
| bool | lower = true, |
||
| bool | log = false |
||
| ) | [inline] |
| sugar::Pmax_Vector_Primitive<RTYPE,RHS_NA,RHS_T> Rcpp::pmax | ( | typename Rcpp::traits::storage_type< RTYPE >::type | lhs, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
| sugar::Pmax_Vector_Vector<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T> Rcpp::pmax | ( | const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
| sugar::Pmax_Vector_Primitive<RTYPE,LHS_NA,LHS_T> Rcpp::pmax | ( | const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| typename Rcpp::traits::storage_type< RTYPE >::type | rhs | ||
| ) | [inline] |
| sugar::Pmin_Vector_Primitive<RTYPE,LHS_NA,LHS_T> Rcpp::pmin | ( | const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| typename Rcpp::traits::storage_type< RTYPE >::type | rhs | ||
| ) | [inline] |
| sugar::Pmin_Vector_Vector<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T> Rcpp::pmin | ( | const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
| sugar::Pmin_Vector_Primitive<RTYPE,RHS_NA,RHS_T> Rcpp::pmin | ( | typename Rcpp::traits::storage_type< RTYPE >::type | lhs, |
| const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & | rhs | ||
| ) | [inline] |
| sugar::Pow<INTSXP,NA,T,EXPONENT_TYPE> Rcpp::pow | ( | const VectorBase< INTSXP, NA, T > & | t, |
| EXPONENT_TYPE | exponent | ||
| ) | [inline] |
Definition at line 78 of file pow.h.
Referenced by Rcpp::stats::dweibull_1(), Rcpp::sugar::Var< RTYPE, NA, T >::get(), Rcpp::sugar::pow__impl< false, RTYPE, EXPONENT_TYPE >::get(), Rcpp::sugar::pow__impl< NA, RTYPE, typename Rcpp::traits::remove_const< EXPONENT_TYPE >::type >::get(), Rcpp::stats::pweibull_1(), and Rcpp::stats::qweibull_1().
| sugar::Pow<REALSXP,NA,T,EXPONENT_TYPE> Rcpp::pow | ( | const VectorBase< REALSXP, NA, T > & | t, |
| EXPONENT_TYPE | exponent | ||
| ) | [inline] |
| stats::Q1<REALSXP,NA,T> Rcpp::qexp | ( | const Rcpp::VectorBase< REALSXP, NA, T > & | x, |
| double | shape, | ||
| bool | lower = true, |
||
| bool | log = false |
||
| ) | [inline] |
| SEXP Rcpp::r_cast | ( | SEXP | x | ) |
Definition at line 50 of file r_cast.h.
References Rcpp::internal::r_true_cast(), and x.
Referenced by Matrix< RTYPE >::Matrix(), and internal::vector_from_string().

| NumericVector Rcpp::rbeta | ( | int | n, |
| double | a, | ||
| double | b | ||
| ) | [inline] |
| NumericVector Rcpp::rbinom | ( | int | n, |
| double | nin, | ||
| double | pp | ||
| ) | [inline] |
| bool Rcpp::Rboolean_to_bool | ( | int | x | ) | [inline] |
Definition at line 216 of file RcppCommon.h.
| bool Rcpp::Rbyte_to_bool | ( | Rbyte | x | ) | [inline] |
Definition at line 219 of file RcppCommon.h.
| NumericVector Rcpp::rcauchy | ( | int | n, |
| double | location, | ||
| double | scale | ||
| ) | [inline] |
| NumericVector Rcpp::rcauchy | ( | int | n, |
| double | location | ||
| ) | [inline] |
| NumericVector Rcpp::rcauchy | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rchisq | ( | int | n, |
| double | df | ||
| ) | [inline] |
| sugar::Rep<RTYPE,NA,T> Rcpp::rep | ( | const VectorBase< RTYPE, NA, T > & | t, |
| int | n | ||
| ) | [inline] |
Definition at line 69 of file rep.h.
References n.
| sugar::Rep_Single<double> Rcpp::rep | ( | const double & | x, |
| int | n | ||
| ) | [inline] |
| sugar::Rep_Single<Rbyte> Rcpp::rep | ( | const Rbyte & | x, |
| int | n | ||
| ) | [inline] |
| sugar::Rep_Single<Rcomplex> Rcpp::rep | ( | const Rcomplex & | x, |
| int | n | ||
| ) | [inline] |
| sugar::Rep_Single<bool> Rcpp::rep | ( | const bool & | x, |
| int | n | ||
| ) | [inline] |
| sugar::Rep_Single<int> Rcpp::rep | ( | const int & | x, |
| int | n | ||
| ) | [inline] |
| sugar::Rep_each<RTYPE,NA,T> Rcpp::rep_each | ( | const VectorBase< RTYPE, NA, T > & | t, |
| int | times | ||
| ) | [inline] |
Definition at line 51 of file rep_each.h.
| sugar::Rep_len<RTYPE,NA,T> Rcpp::rep_len | ( | const VectorBase< RTYPE, NA, T > & | t, |
| int | len | ||
| ) | [inline] |
| sugar::Rev<RTYPE,NA,T> Rcpp::rev | ( | const VectorBase< RTYPE, NA, T > & | t | ) | [inline] |
| NumericVector Rcpp::rexp | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rexp | ( | int | n, |
| double | rate | ||
| ) | [inline] |
| NumericVector Rcpp::rf | ( | int | n, |
| double | n1, | ||
| double | n2 | ||
| ) | [inline] |
| NumericVector Rcpp::rgamma | ( | int | n, |
| double | a, | ||
| double | scale | ||
| ) | [inline] |
| NumericVector Rcpp::rgeom | ( | int | n, |
| double | p | ||
| ) | [inline] |
| NumericVector Rcpp::rhyper | ( | int | n, |
| double | nn1, | ||
| double | nn2, | ||
| double | kk | ||
| ) | [inline] |
| NumericVector Rcpp::rlnorm | ( | int | n, |
| double | meanlog, | ||
| double | sdlog | ||
| ) | [inline] |
| NumericVector Rcpp::rlnorm | ( | int | n, |
| double | meanlog | ||
| ) | [inline] |
| NumericVector Rcpp::rlnorm | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rlogis | ( | int | n, |
| double | location, | ||
| double | scale | ||
| ) | [inline] |
| NumericVector Rcpp::rlogis | ( | int | n, |
| double | location | ||
| ) | [inline] |
| NumericVector Rcpp::rlogis | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rnbinom | ( | int | n, |
| double | siz, | ||
| double | prob | ||
| ) | [inline] |
| NumericVector Rcpp::rnbinom_mu | ( | int | n, |
| double | siz, | ||
| double | mu | ||
| ) | [inline] |
Definition at line 47 of file rnbinom_mu.h.
| NumericVector Rcpp::rnchisq | ( | int | n, |
| double | df, | ||
| double | lambda | ||
| ) | [inline] |
| NumericVector Rcpp::rnchisq | ( | int | n, |
| double | df | ||
| ) | [inline] |
| NumericVector Rcpp::rnorm | ( | int | n, |
| double | mean | ||
| ) | [inline] |
| NumericVector Rcpp::rnorm | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rnorm | ( | int | n, |
| double | mean, | ||
| double | sd | ||
| ) | [inline] |
| sugar::Row<RTYPE,LHS_NA,LHS_T> Rcpp::row | ( | const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & | lhs | ) | [inline] |
| NumericVector Rcpp::rpois | ( | int | n, |
| double | mu | ||
| ) | [inline] |
| NumericVector Rcpp::rsignrank | ( | int | n, |
| double | nn | ||
| ) | [inline] |
Definition at line 30 of file rsignrank.h.
| NumericVector Rcpp::rt | ( | int | n, |
| double | df | ||
| ) | [inline] |
| NumericVector Rcpp::runif | ( | int | n, |
| double | min, | ||
| double | max | ||
| ) | [inline] |
| NumericVector Rcpp::runif | ( | int | n, |
| double | min | ||
| ) | [inline] |
| NumericVector Rcpp::runif | ( | int | n | ) | [inline] |
| NumericVector Rcpp::rweibull | ( | int | n, |
| double | shape, | ||
| double | scale | ||
| ) | [inline] |
Definition at line 47 of file rweibull.h.
| NumericVector Rcpp::rwilcox | ( | int | n, |
| double | mm, | ||
| double | nn | ||
| ) | [inline] |
| sugar::Sapply< RTYPE,NA,T,Function, traits::same_type< typename ::Rcpp::traits::result_of<Function>::type , typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::traits::result_of<Function>::type >::rtype >::type >::value> Rcpp::sapply | ( | const Rcpp::VectorBase< RTYPE, NA, T > & | t, |
| Function | fun | ||
| ) | [inline] |
| sugar::Sd<REALSXP,NA,T> Rcpp::sd | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
| Range Rcpp::seq | ( | int | start, |
| int | end | ||
| ) | [inline] |
Definition at line 52 of file seq_along.h.
Referenced by require().
| sugar::SeqLen Rcpp::seq_along | ( | const Rcpp::VectorBase< RTYPE, NA, T > & | t | ) | [inline] |
Definition at line 44 of file seq_along.h.
References Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

| sugar::SeqLen Rcpp::seq_len | ( | const size_t & | n | ) | [inline] |
Definition at line 48 of file seq_along.h.
| sugar::Sign<REALSXP,NA,T> Rcpp::sign | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
| sugar::Sign<INTSXP,NA,T> Rcpp::sign | ( | const VectorBase< INTSXP, NA, T > & | t | ) | [inline] |
Definition at line 67 of file sign.h.
Referenced by Rcpp::Module::get_function_ptr().
| std::string Rcpp::sprintf | ( | const char * | format, |
| ... | |||
| ) |
Definition at line 28 of file sprintf.h.
Referenced by as_character_externalptr().
| void Rcpp::standard_delete_finalizer | ( | T * | obj | ) |
| sugar::Sum<INTSXP,NA,T> Rcpp::sum | ( | const VectorBase< INTSXP, NA, T > & | t | ) | [inline] |
Definition at line 98 of file sum.h.
Referenced by Rcpp::sugar::Var< RTYPE, NA, T >::get(), and Rcpp::sugar::Mean< RTYPE, NA, T >::get().
| sugar::Sum<REALSXP,NA,T> Rcpp::sum | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
| sugar::Sum<LGLSXP,NA,T> Rcpp::sum | ( | const VectorBase< LGLSXP, NA, T > & | t | ) | [inline] |
| sugar::Tail<RTYPE,NA,T> Rcpp::tail | ( | const VectorBase< RTYPE, NA, T > & | t, |
| int | n | ||
| ) | [inline] |
Definition at line 56 of file tail.h.
References n.
Referenced by Rcpp::DottedPair::insert(), and Rcpp::DottedPair::push_back().
| static struct tm * Rcpp::timesub | ( | const time_t *const | timep, |
| const long | offset, | ||
| const struct state *const | sp, | ||
| struct tm *const | tmp | ||
| ) | [static, read] |
Definition at line 1220 of file Date.cpp.
References DAYSPERLYEAR, DAYSPERNYEAR, DAYSPERWEEK, EPOCH_WDAY, EPOCH_YEAR, i, increment_overflow(), isleap, Rcpp::state::leapcnt, leaps_thru_end_of(), Rcpp::lsinfo::ls_corr, Rcpp::lsinfo::ls_trans, Rcpp::state::lsis, mon_lengths, SECSPERDAY, SECSPERHOUR, SECSPERMIN, y, and year_lengths.
Referenced by gmtsub().

| static std::string Rcpp::toString | ( | const int | i | ) | [static] |
Definition at line 37 of file exceptions.h.
References i.
| static time_t Rcpp::transtime | ( | const time_t | janfirst, |
| const int | year, | ||
| const struct rule *const | rulep, | ||
| const long | offset | ||
| ) | [static] |
Definition at line 881 of file Date.cpp.
References DAY_OF_YEAR, DAYSPERWEEK, i, INITIALIZE, isleap, JULIAN_DAY, mon_lengths, MONTH_NTH_DAY_OF_WEEK, Rcpp::rule::r_day, Rcpp::rule::r_mon, Rcpp::rule::r_time, Rcpp::rule::r_type, Rcpp::rule::r_week, and SECSPERDAY.
Referenced by tzparse().
| static int Rcpp::typesequiv | ( | const struct state * | sp, |
| int | a, | ||
| int | b | ||
| ) | [static] |
Definition at line 1195 of file Date.cpp.
References a, b, Rcpp::state::chars, Rcpp::ttinfo::tt_abbrind, Rcpp::ttinfo::tt_gmtoff, Rcpp::ttinfo::tt_isdst, Rcpp::ttinfo::tt_ttisgmt, Rcpp::ttinfo::tt_ttisstd, Rcpp::state::ttis, and Rcpp::state::typecnt.
Referenced by tzload().
| static int Rcpp::tzload | ( | const char * | name, |
| struct state *const | sp, | ||
| const int | doextend | ||
| ) | [static] |
Definition at line 638 of file Date.cpp.
References Rcpp::state::ats, Rcpp::state::charcnt, Rcpp::state::chars, detzcode(), detzcode64(), differ_by_repeat(), for(), Rcpp::state::goahead, Rcpp::state::goback, i, j, Rcpp::state::leapcnt, Rcpp::lsinfo::ls_corr, Rcpp::lsinfo::ls_trans, Rcpp::state::lsis, OPEN_MODE, p, Rcpp::state::timecnt, Rcpp::ttinfo::tt_abbrind, Rcpp::ttinfo::tt_gmtoff, Rcpp::ttinfo::tt_isdst, Rcpp::ttinfo::tt_ttisgmt, Rcpp::ttinfo::tt_ttisstd, Rcpp::state::ttis, TYPE_INTEGRAL, TYPE_SIGNED, Rcpp::state::typecnt, Rcpp::state::types, typesequiv(), TZ_MAX_CHARS, TZ_MAX_LEAPS, TZ_MAX_TIMES, TZ_MAX_TYPES, TZDEFAULT, tzparse(), and YEARSPERREPEAT.
Referenced by gmtload(), and tzparse().

| static int Rcpp::tzparse | ( | const char * | name, |
| struct state * | sp, | ||
| int | lastditch | ||
| ) | [static] |
Definition at line 965 of file Date.cpp.
References Rcpp::state::ats, Rcpp::state::charcnt, Rcpp::state::chars, EPOCH_YEAR, getoffset(), getqzname(), getrule(), getzname(), i, INITIALIZE, isleap, j, Rcpp::state::leapcnt, SECSPERDAY, SECSPERHOUR, Rcpp::state::timecnt, transtime(), Rcpp::ttinfo::tt_abbrind, Rcpp::ttinfo::tt_gmtoff, Rcpp::ttinfo::tt_isdst, Rcpp::ttinfo::tt_ttisgmt, Rcpp::ttinfo::tt_ttisstd, Rcpp::state::ttis, Rcpp::state::typecnt, Rcpp::state::types, TZ_MAX_TIMES, TZDEFRULES, TZDEFRULESTRING, tzload(), and year_lengths.
Referenced by gmtload(), and tzload().

| sugar::UpperTri<RTYPE,LHS_NA,LHS_T> Rcpp::upper_tri | ( | const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & | lhs, |
| bool | diag = false |
||
| ) | [inline] |
Definition at line 70 of file upper_tri.h.
References diag().

| sugar::Var<REALSXP,NA,T> Rcpp::var | ( | const VectorBase< REALSXP, NA, T > & | t | ) | [inline] |
Definition at line 50 of file var.h.
Referenced by Rcpp::sugar::Sd< RTYPE, NA, T >::get().
| SEXP Rcpp::wrap | ( | const Date & | date | ) |
Definition at line 162 of file Date.cpp.
References Rcpp::Date::getDate(), and Rcpp::internal::new_date_object().
Referenced by as_character_externalptr(), Vector< RTYPE >::assign(), Rcpp::Environment::assign(), Vector< RTYPE >::assign_object(), internal::generic_element_converter< RTYPE >::get(), CppProperty_GetPointer_SetPointer< Class, PROP >::get(), CppProperty_GetPointer_SetMethod< Class, PROP >::get(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::get(), CppProperty_GetMethod_SetPointer< Class, PROP >::get(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::get(), CppProperty_GetMethod_SetMethod< Class, PROP >::get(), CppProperty_GetPointerMethod< Class, PROP >::get(), CppProperty_GetConstMethod< Class, PROP >::get(), CppProperty_GetMethod< Class, PROP >::get(), CppProperty_Getter< PROP >::get(), CppProperty_Getter_Setter< PROP >::get(), Rcpp::internal::grow__dispatch(), Rcpp::Dimension::operator SEXP(), internal::simple_name_proxy< RTYPE >::operator SEXP(), Rcpp::DateVector::operator SEXP(), Rcpp::DatetimeVector::operator SEXP(), Rcpp::XPtr< T, Finalizer >::ProtectedProxy::operator=(), Rcpp::XPtr< T, Finalizer >::TagProxy::operator=(), Vector< RTYPE >::NamesProxy::operator=(), internal::generic_proxy< RTYPE >::operator=(), internal::generic_name_proxy< RTYPE >::operator=(), Rcpp::RObject::SlotProxy::operator=(), Rcpp::RObject::AttributeProxy::operator=(), Rcpp::Reference::FieldProxy::operator=(), Rcpp::DottedPair::Proxy::operator=(), Rcpp::sugar::Lapply< RTYPE, NA, T, Function >::operator[](), and PiLeibniz().

| SEXP Rcpp::wrap | ( | const Datetime & | date | ) |
Definition at line 93 of file Datetime.cpp.
References Rcpp::Datetime::getFractionalTimestamp(), and Rcpp::internal::new_posixt_object().

| SEXP Rcpp::wrap< Rcpp::Date > | ( | const Rcpp::Date & | date | ) |
| SEXP Rcpp::wrap< Rcpp::Datetime > | ( | const Rcpp::Datetime & | dt | ) |
| SEXP Rcpp::wrap_extra_steps< Rcpp::Date > | ( | SEXP | x | ) | [inline] |
| SEXP Rcpp::wrap_extra_steps< Rcpp::Datetime > | ( | SEXP | x | ) | [inline] |
Definition at line 85 of file Datetime.h.
References Rcpp::internal::getPosixClasses(), and x.

internal::NamedPlaceHolder Rcpp::_ [static] |
Module* Rcpp::current_scope [static] |
Definition at line 255 of file Module.cpp.
Referenced by getCurrentScope(), R_init_Rcpp(), and setCurrentScope().
const char Rcpp::gmt[] = "GMT" [static] |
int Rcpp::gmt_is_set [static] |
struct state Rcpp::gmtmem [static] |
const int Rcpp::mon_lengths[2][MONSPERYEAR] [static] |
{
{ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
{ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
}
Definition at line 446 of file Date.cpp.
Referenced by timesub(), and transtime().
Definition at line 28 of file Rostream.cpp.
const int Rcpp::year_lengths[2] [static] |
{
DAYSPERNYEAR, DAYSPERLYEAR
}