Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp Namespace Reference

Rcpp API. More...

Namespaces

namespace  algorithm
namespace  traits
 traits used to dispatch wrap
namespace  internal
 internal implementation details
namespace  sugar
namespace  InternalFunctionWithStdFunction
namespace  stats
namespace  attributes

Classes

class  Timer
class  DataFrame_Impl
class  Date
class  Datetime
class  newDatetimeVector
class  newDateVector
class  oldDatetimeVector
class  oldDateVector
class  Dimension
class  DottedPairImpl
class  exception
class  no_such_env
class  file_io_error
class  file_not_found
class  file_exists
struct  LongjumpException
class  Fast
class  InputParameter
class  ReferenceInputParameter
class  ConstInputParameter
class  ConstReferenceInputParameter
class  Rstreambuf
class  Rostream
class  fixed_call
class  unary_call
class  binary_call
class  result
class  object
class  CppFunctionN
class  CppFunction_WithFormalsN
class  CppMethod
class  CppInheritedMethod
class  Constructor_Base
class  Constructor
class  Factory_Base
class  Factory
class  SignedConstructor
class  SignedFactory
class  SignedMethod
class  S4_CppConstructor
class  S4_CppOverloadedMethods
class  CppMethodImplN
class  Pointer_CppMethodImplN
class  CppProperty
class  CppInheritedProperty
class  CppFinalizer
class  FunctionFinalizer
class  S4_field
class  CppProperty_GetMethod
class  CppProperty_GetConstMethod
class  CppProperty_GetPointerMethod
class  CppProperty_GetMethod_SetMethod
class  CppProperty_GetConstMethod_SetMethod
class  CppProperty_GetMethod_SetPointer
class  CppProperty_GetConstMethod_SetPointer
class  CppProperty_GetPointer_SetMethod
class  CppProperty_GetPointer_SetPointer
class  class_
class  enum_
class  CppClass
class  CppObject
class  class_Base
class  CppFunctionBase
class  CppFunction
struct  void_type
class  Module
class  Na_Proxy
class  Argument
class  Nullable
class  Armor
class  Shelter
class  Shield
class  AttributeProxyPolicy
class  BindingPolicy
class  DottedPairProxyPolicy
class  FieldProxyPolicy
struct  GenericProxy
class  NamesProxyPolicy
class  ProtectedProxyPolicy
class  RObjectMethods
class  SlotProxyPolicy
class  TagProxyPolicy
class  RNGScope
class  SuspendRNGSynchronizationScope
class  Generator
class  NoProtectStorage
class  PreserveStorage
class  String
class  StringTransformer
struct  can_have_na
class  Range
class  MatrixRow
class  ConstMatrixRow
class  MatrixColumn
class  ConstMatrixColumn
class  SubMatrix
class  SingleLogicalResult
class  Vector
class  ChildVector
class  ListOf
class  Matrix
class  MatrixBase
class  no_init_vector
class  no_init_matrix
class  SubsetProxy
class  VectorBase
class  XPtr
struct  tzhead
struct  ttinfo
struct  lsinfo
struct  state
struct  rule

Typedefs

typedef uint64_t nanotime_t
typedef DataFrame_Impl< PreserveStorageDataFrame
typedef oldDateVector DateVector
typedef oldDatetimeVector DatetimeVector
typedef DottedPair_Impl< PreserveStorageDottedPair
typedef Environment_Impl< PreserveStorageEnvironment
typedef Formula_Impl< PreserveStorageFormula
typedef Function_Impl< PreserveStorageFunction
typedef InternalFunction_Impl< PreserveStorageInternalFunction
typedef DottedPairProxyPolicy< Language_Impl >::const_DottedPairProxy const_Proxy
typedef Language_Impl< PreserveStorageLanguage
typedef bool(* ValidConstructor) (SEXP *, int)
typedef bool(* ValidMethod) (SEXP *, int)
template<typename Class, typename RESULT_TYPE, typename... T>
using CppMethodN = CppMethodImplN<false, Class, RESULT_TYPE, T...>
template<typename Class, typename RESULT_TYPE, typename... T>
using const_CppMethodN = CppMethodImplN<true, Class, RESULT_TYPE, T...>
template<typename Class, typename RESULT_TYPE, typename... T>
using Pointer_CppMethodN = Pointer_CppMethodImplN<false, Class, RESULT_TYPE, T...>
template<typename Class, typename RESULT_TYPE, typename... T>
using Const_Pointer_CppMethodN = Pointer_CppMethodImplN<true, Class, RESULT_TYPE, T...>
typedef Pairlist_Impl< PreserveStoragePairlist
typedef Promise_Impl< PreserveStoragePromise
typedef Reference_Impl< PreserveStorageReference
typedef RObject_Impl< PreserveStorageRObject
typedef S4_Impl< PreserveStorageS4
typedef StretchyList_Impl< PreserveStorageStretchyList
typedef Symbol_Impl< NoProtectStorageSymbol
typedef Vector< CPLXSXP > ComplexVector
typedef Vector< INTSXP > IntegerVector
typedef Vector< LGLSXP > LogicalVector
typedef Vector< REALSXP > NumericVector
typedef Vector< REALSXP > DoubleVector
typedef Vector< RAWSXP > RawVector
typedef Vector< STRSXP > CharacterVector
typedef Vector< STRSXP > StringVector
typedef Vector< VECSXP > GenericVector
typedef Vector< VECSXP > List
typedef Vector< EXPRSXP > ExpressionVector
typedef Matrix< CPLXSXP > ComplexMatrix
typedef Matrix< INTSXP > IntegerMatrix
typedef Matrix< LGLSXP > LogicalMatrix
typedef Matrix< REALSXP > NumericMatrix
typedef Matrix< RAWSXP > RawMatrix
typedef Matrix< STRSXP > CharacterMatrix
typedef Matrix< STRSXP > StringMatrix
typedef Matrix< VECSXP > GenericMatrix
typedef Matrix< VECSXP > ListMatrix
typedef Matrix< EXPRSXP > ExpressionMatrix
typedef WeakReference_Impl< PreserveStorageWeakReference

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<>
SEXP wrap_extra_steps< Rcpp::Date > (SEXP)
template<>
SEXP wrap_extra_steps< Rcpp::Datetime > (SEXP)
template<typename T>
SEXP wrap_extra_steps (SEXP x)
template<>
SEXP wrap (const Date &date)
template<>
SEXP wrap_extra_steps< Rcpp::Datetime > (SEXP x)
template<>
SEXP wrap< Datetime > (const Datetime &date)
Environment new_env (int size=29)
Environment new_env (SEXP parent, int size=29)
void message (SEXP s)
SEXP Rcpp_fast_eval (SEXP expr, SEXP env)
SEXP Rcpp_eval (SEXP expr, SEXP env)
template<typename T>
as (SEXP x)
template<>
char as< char > (SEXP x)
template<typename T>
traits::remove_const_and_reference< T >::type bare_as (SEXP x)
template<>
SEXP as (SEXP x)
template<typename T>
clone (const T &object)
template<>
SEXP wrap< Rcpp::Date > (const Rcpp::Date &date)
template<>
SEXP wrap_extra_steps< Rcpp::Date > (SEXP x)
Date operator+ (const Date &date, int offset)
double 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)
std::ostream & operator<< (std::ostream &os, const Date d)
template<>
SEXP wrap< Rcpp::Datetime > (const Rcpp::Datetime &dt)
template<>
SEXP wrap_extra_steps< Rcpp::Datetime > (SEXP x)
Datetime operator+ (const Datetime &datetime, double offset)
Datetime operator+ (const Datetime &datetime, int 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)
std::ostream & operator<< (std::ostream &os, const Datetime d)
std::ostream & operator<< (std::ostream &os, const newDatetimeVector d)
std::ostream & operator<< (std::ostream &os, const newDateVector d)
 RCPP_API_CLASS (DottedPair_Impl)
 RCPP_API_CLASS (Environment_Impl)
 Environment_Impl (SEXP x)
 Environment_Impl (const std::string &name)
 Environment_Impl (int pos)
SEXP ls (bool all) const
SEXP get (const std::string &name) const
SEXP get (Symbol name) const
SEXP find (const std::string &name) const
SEXP find (Symbol name) const
bool exists (const std::string &name) const
bool assign (const std::string &name, SEXP x) const
bool assign (const std::string &name, const Shield< SEXP > &x) const
template<typename WRAPPABLE>
bool assign (const std::string &name, const WRAPPABLE &x) const
bool isLocked () const
bool remove (const std::string &name)
void lock (bool bindings=false)
void lockBinding (const std::string &name)
void unlockBinding (const std::string &name)
bool bindingIsLocked (const std::string &name) const
bool bindingIsActive (const std::string &name) const
static Environment_Impl global_env ()
static Environment_Impl empty_env ()
static Environment_Impl base_env ()
static Environment_Impl base_namespace ()
static Environment_Impl Rcpp_namespace ()
static Environment_Impl namespace_env (const std::string &package)
Environment_Impl parent () const
Environment_Impl new_child (bool hashed) const
void update (SEXP)
static std::string toString (const int i)
void warning (const std::string &message)
void NORET stop (const std::string &message)
template<typename... Args>
void warning (const char *fmt, Args &&... args)
template<typename... Args>
void NORET stop (const char *fmt, Args &&... args)
 RCPP_API_CLASS (Formula_Impl)
 Formula_Impl (SEXP x)
 Formula_Impl (const std::string &code)
 RCPP_API_CLASS (Function_Impl)
SEXP pairlist ()
SEXP grow (SEXP head, SEXP tail)
template<typename T>
SEXP grow (const T &head, SEXP tail)
SEXP grow (const char *head, SEXP tail)
template<typename T1>
SEXP pairlist (const T1 &t1)
template<typename T, typename... TArgs>
SEXP pairlist (const T &t1, const TArgs &... args)
 RCPP_API_CLASS (InternalFunction_Impl)
void checkUserInterrupt ()
template<typename T>
bool is (SEXP x)
SEXP Rcpp_list2 (SEXP x0, SEXP x1)
SEXP Rcpp_list3 (SEXP x0, SEXP x1, SEXP x2)
SEXP Rcpp_list4 (SEXP x0, SEXP x1, SEXP x2, SEXP x3)
SEXP Rcpp_list5 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4)
SEXP Rcpp_list6 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5)
SEXP Rcpp_list7 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6)
SEXP Rcpp_lang7 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6)
SEXP Rcpp_list8 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7)
SEXP Rcpp_lang8 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7)
SEXP Rcpp_list9 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8)
SEXP Rcpp_lang9 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8)
SEXP Rcpp_list10 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9)
SEXP Rcpp_lang10 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9)
SEXP Rcpp_list11 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10)
SEXP Rcpp_lang11 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10)
SEXP Rcpp_list12 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11)
SEXP Rcpp_lang12 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11)
SEXP Rcpp_list13 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12)
SEXP Rcpp_lang13 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12)
SEXP Rcpp_list14 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13)
SEXP Rcpp_lang14 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13)
SEXP Rcpp_list15 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14)
SEXP Rcpp_lang15 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14)
SEXP Rcpp_list16 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15)
SEXP Rcpp_lang16 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15)
SEXP Rcpp_list17 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16)
SEXP Rcpp_lang17 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16)
SEXP Rcpp_list18 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17)
SEXP Rcpp_lang18 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17)
SEXP Rcpp_list19 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18)
SEXP Rcpp_lang19 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18)
SEXP Rcpp_list20 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19)
SEXP Rcpp_lang20 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19)
 RCPP_API_CLASS (Language_Impl)
 Language_Impl ()
 Language_Impl (SEXP x)
 Language_Impl (const std::string &symbol)
 Language_Impl (const Symbol &symbol)
 Language_Impl (const Function &function)
template<typename... T>
 Language_Impl (const std::string &symbol, const T &... t)
template<typename... T>
 Language_Impl (const Function &function, const T &... t)
void setSymbol (const std::string &symbol)
void setSymbol (const Symbol &symbol)
void setFunction (const Function &function)
SEXP eval () const
SEXP eval (SEXP env) const
SEXP fast_eval () const
SEXP fast_eval (SEXP env) const
SEXP lgrow (SEXP head, SEXP tail)
template<typename T>
SEXP lgrow (const T &head, SEXP tail)
SEXP lgrow (const char *head, SEXP tail)
template<typename T1>
SEXP langlist (const T1 &t1)
template<typename T, typename... TArgs>
SEXP langlist (const T &t1, const TArgs &... args)
template<typename RESULT_TYPE, typename... T>
void signature (std::string &s, const char *name)
template<typename... T>
void ctor_signature (std::string &s, const std::string &classname)
bool yes (SEXP *, int)
template<int n>
bool yes_arity (SEXP *, int nargs)
template<typename RESULT_TYPE, typename... T>
void function (const char *name_, RESULT_TYPE(*fun)(T... t), const char *docstring=0)
template<typename RESULT_TYPE, typename... T>
void function (const char *name_, RESULT_TYPE(*fun)(T... t), Rcpp::List formals, const char *docstring=0)
template<typename FROM, typename TO>
void converter (const char *from, const char *to, TO(*fun)(FROM), const char *docstring=0)
template<typename RESULT_TYPE>
std::string get_return_type_dispatch (Rcpp::traits::false_type)
template<typename RESULT_TYPE>
std::string get_return_type_dispatch (Rcpp::traits::true_type)
template<typename RESULT_TYPE>
std::string get_return_type ()
template<>
std::string get_return_type< void_type > ()
template<>
std::string get_return_type< SEXP > ()
template<>
std::string get_return_type< Rcpp::IntegerVector > ()
template<>
std::string get_return_type< Rcpp::NumericVector > ()
template<>
std::string get_return_type< Rcpp::RawVector > ()
template<>
std::string get_return_type< Rcpp::ExpressionVector > ()
template<>
std::string get_return_type< Rcpp::List > ()
template<>
std::string get_return_type< Rcpp::CharacterVector > ()
LogicalVector shush_about_NA ()
Argument Named (const std::string &name)
template<typename T>
traits::named_object< T > Named (const std::string &name, const T &o)
 RCPP_API_CLASS (Pairlist_Impl)
 Pairlist_Impl ()
 Pairlist_Impl (SEXP x)
template<typename... T>
 Pairlist_Impl (const T &... args)
void print (SEXP s)
void warningcall (SEXP call, const std::string &s)
 RCPP_API_CLASS (Promise_Impl)
SEXP Rcpp_protect (SEXP x)
void Rcpp_unprotect (int i)
template<int TARGET>
SEXP r_cast (SEXP x)
 RCPP_API_CLASS (Reference_Impl)
 RCPP_API_CLASS (RObject_Impl)
attribute_hidden const char * type2name (SEXP x)
attribute_hidden double mktime00 (struct tm &tm)
attribute_hidden struct tmgmtime_ (const time_t *const x)
attribute_hidden void Rcpp_precious_init ()
attribute_hidden void Rcpp_precious_teardown ()
attribute_hidden SEXP Rcpp_precious_preserve (SEXP object)
attribute_hidden void Rcpp_precious_remove (SEXP token)
attribute_hidden Rostream< true > & Rcpp_cout_get ()
attribute_hidden Rostream< false > & Rcpp_cerr_get ()
 RCPP_API_CLASS (S4_Impl)
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 rnorm (int n, double mean, double sd)
NumericVector rnorm (int n, double mean)
NumericVector rnorm (int n)
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 rgamma (int n, double a)
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 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 rweibull (int n, double shape)
NumericVector rwilcox (int n, double mm, double nn)
 RCPP_API_CLASS (StretchyList_Impl)
 StretchyList_Impl ()
 StretchyList_Impl (SEXP x)
 operator SEXP () const
template<typename T>
StretchyList_Implpush_back (const T &obj)
template<typename T>
StretchyList_Implpush_front (const T &obj)
template<typename T>
StretchyList_Implpush_back__impl (const T &obj, traits::true_type)
template<typename T>
StretchyList_Implpush_back__impl (const T &obj, traits::false_type)
template<typename T>
StretchyList_Implpush_front__impl (const T &obj, traits::true_type)
template<typename T>
StretchyList_Implpush_front__impl (const T &obj, traits::false_type)
template<>
SEXP wrap< Rcpp::String > (const Rcpp::String &object)
bool operator== (const String::StringProxy &lhs, const String &rhs)
bool operator!= (const String::StringProxy &lhs, const String &rhs)
bool operator== (const String::const_StringProxy &lhs, const String &rhs)
bool operator!= (const String::const_StringProxy &lhs, const String &rhs)
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<int RTYPE, bool NA, typename T>
sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > clamp (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, NA, T > &vec, typename Rcpp::traits::storage_type< RTYPE >::type rhs)
template<bool NA, typename T>
sugar::Cummax< INTSXP, NA, T > cummax (const VectorBase< INTSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cummax< REALSXP, NA, T > cummax (const VectorBase< REALSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cummin< INTSXP, NA, T > cummin (const VectorBase< INTSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cummin< REALSXP, NA, T > cummin (const VectorBase< REALSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cumprod< INTSXP, NA, T > cumprod (const VectorBase< INTSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cumprod< REALSXP, NA, T > cumprod (const VectorBase< REALSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Cumprod< CPLXSXP, NA, T > cumprod (const VectorBase< CPLXSXP, 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>
LogicalVector duplicated (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T>
sugar::Head< RTYPE, NA, T > head (const VectorBase< RTYPE, NA, T > &t, R_xlen_t 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::IsFinite< RTYPE, NA, T > is_finite (const Rcpp::VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T>
sugar::IsInfinite< RTYPE, NA, T > is_infinite (const Rcpp::VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T>
sugar::IsNa< RTYPE, NA, T > is_na (const Rcpp::VectorBase< RTYPE, NA, T > &t)
sugar::IsNa_Vector_is_na< oldDatetimeVectoris_na (const oldDatetimeVector &x)
sugar::IsNa_Vector_is_na< oldDateVectoris_na (const oldDateVector &x)
sugar::IsNa_Vector_is_na< NumericVectoris_na (newDatetimeVector &x)
sugar::IsNa_Vector_is_na< NumericVectoris_na (newDateVector &x)
template<int RTYPE, bool NA, typename T>
sugar::IsNaN< RTYPE, NA, T > is_nan (const Rcpp::VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T, typename Function>
sugar::Lapply< RTYPE, NA, T, Functionlapply (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, Functionmapply (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, typename Function>
sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, double, Functionmapply (const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, double t2, Function fun)
template<int RTYPE, bool NA_2, typename T_2, typename Function>
sugar::Mapply_2_Primitive_Vector< RTYPE, double, NA_2, T_2, Functionmapply (double t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, Function fun)
template<int RTYPE_1, bool NA_1, typename T_1, int RTYPE_2, bool NA_2, typename T_2, int RTYPE_3, bool NA_3, typename T_3, typename Function>
sugar::Mapply_3< RTYPE_1, NA_1, T_1, RTYPE_2, NA_2, T_2, RTYPE_3, NA_3, T_3, Functionmapply (const Rcpp::VectorBase< RTYPE_1, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE_2, NA_2, T_2 > &t2, const Rcpp::VectorBase< RTYPE_3, NA_3, T_3 > &t3, Function fun)
template<int RTYPE, bool NA, typename T, bool RHS_NA, typename RHS_T>
IntegerVector match (const VectorBase< RTYPE, NA, T > &x, const VectorBase< RTYPE, RHS_NA, RHS_T > &table_)
template<int RTYPE, bool NA, typename T>
sugar::Max< RTYPE, NA, T > max (const VectorBase< RTYPE, NA, T > &x)
template<bool NA, typename T>
sugar::Mean< REALSXP, NA, T > mean (const VectorBase< REALSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Mean< INTSXP, NA, T > mean (const VectorBase< INTSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Mean< CPLXSXP, NA, T > mean (const VectorBase< CPLXSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Mean< LGLSXP, NA, T > mean (const VectorBase< LGLSXP, NA, T > &t)
template<int RTYPE, bool NA, typename T>
sugar::median_detail::result< RTYPE >::type median (const Rcpp::VectorBase< RTYPE, NA, T > &x, bool na_rm=false)
template<int RTYPE, bool NA, typename T>
sugar::Min< RTYPE, NA, T > min (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T>
Vector< RTYPE > na_omit (const VectorBase< RTYPE, 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<int RTYPE, bool NA, typename T, typename EXPONENT_TYPE>
sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE > pow (const VectorBase< RTYPE, NA, T > &t, EXPONENT_TYPE exponent)
template<int RTYPE, bool NA, typename T>
sugar::Range< RTYPE, NA, T > range (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T>
sugar::Rep< RTYPE, NA, T > rep (const VectorBase< RTYPE, NA, T > &t, R_xlen_t n)
sugar::Rep_Single< double > rep (const double &x, R_xlen_t n)
sugar::Rep_Single< int > rep (const int &x, R_xlen_t n)
sugar::Rep_Single< Rbyte > rep (const Rbyte &x, R_xlen_t n)
sugar::Rep_Single< Rcomplex > rep (const Rcomplex &x, R_xlen_t n)
sugar::Rep_Single< bool > rep (const bool &x, R_xlen_t n)
template<int RTYPE, bool NA, typename T>
sugar::Rep_each< RTYPE, NA, T > rep_each (const VectorBase< RTYPE, NA, T > &t, R_xlen_t times)
template<int RTYPE, bool NA, typename T>
sugar::Rep_len< RTYPE, NA, T > rep_len (const VectorBase< RTYPE, NA, T > &t, R_xlen_t 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>
sugar::detail::RowSumsReturn< RTYPE >::type rowSums (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
template<int RTYPE, bool NA, typename T>
sugar::detail::ColSumsReturn< RTYPE >::type colSums (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
template<int RTYPE, bool NA, typename T>
sugar::detail::RowMeansReturn< RTYPE >::type rowMeans (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
template<int RTYPE, bool NA, typename T>
sugar::detail::ColMeansReturn< RTYPE >::type colMeans (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
Vector< INTSXP > sample (int n, int size, bool replace=false, sugar::probs_t probs=R_NilValue, bool one_based=true)
template<int RTYPE>
Vector< RTYPE > sample (const Vector< RTYPE > &x, int size, bool replace=false, sugar::probs_t probs=R_NilValue)
template<int RTYPE, bool NA, typename T, typename Function>
sugar::Sapply< RTYPE, NA, T, Function, traits::same_type< typename ::Rcpp::traits::result_of< Function, T >::type, typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::traits::result_of< Function, T >::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>
IntegerVector self_match (const VectorBase< RTYPE, NA, T > &x)
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 (R_xlen_t start, R_xlen_t end)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > setdiff (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
bool setequal (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > intersect (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > union_ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
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>
String collapse (const VectorBase< STRSXP, NA, T > &vec)
Vector< STRSXP > trimws (const Vector< STRSXP > &x, const char *which="both")
Matrix< STRSXP > trimws (const Matrix< STRSXP > &x, const char *which="both")
String trimws (const String &str, const char *which="both")
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>
IntegerVector table (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T>
sugar::Tail< RTYPE, NA, T > tail (const VectorBase< RTYPE, NA, T > &t, R_xlen_t n)
template<int RTYPE, bool NA, typename T>
Vector< RTYPE > unique (const VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T>
Vector< RTYPE > sort_unique (const VectorBase< RTYPE, NA, T > &t, bool decreasing=false)
template<int RTYPE, bool NA, typename T, bool RHS_NA, typename RHS_T>
LogicalVector in (const VectorBase< RTYPE, NA, T > &x, const VectorBase< RTYPE, RHS_NA, RHS_T > &table)
template<bool NA, typename T>
sugar::Var< REALSXP, NA, T > var (const VectorBase< REALSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Var< INTSXP, NA, T > var (const VectorBase< INTSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Var< LGLSXP, NA, T > var (const VectorBase< LGLSXP, NA, T > &t)
template<bool NA, typename T>
sugar::Var< CPLXSXP, NA, T > var (const VectorBase< CPLXSXP, NA, T > &t)
template<int RTYPE, bool NA, typename T>
R_xlen_t which_max (const VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T>
R_xlen_t which_min (const VectorBase< RTYPE, 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 NA, typename T>
sugar::LowerTri< RTYPE, NA, T > lower_tri (const Rcpp::MatrixBase< RTYPE, NA, 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, Functionouter (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 NA, typename T>
sugar::UpperTri< RTYPE, NA, T > upper_tri (const Rcpp::MatrixBase< RTYPE, NA, 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<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Divides_Vector_Primitive< RTYPE, NA, T > >::type operator/ (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Divides_Primitive_Vector< RTYPE, NA, T > >::type operator/ (const U &lhs, const VectorBase< RTYPE, NA, T > &rhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Divides_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator/ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Minus_Vector_Primitive< RTYPE, NA, T > >::type operator- (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Minus_Primitive_Vector< RTYPE, NA, T > >::type operator- (const U &lhs, const VectorBase< RTYPE, NA, T > &rhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator- (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, typenamesugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type operator+ (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, typenamesugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type operator+ (const U &rhs, const VectorBase< RTYPE, NA, T > &lhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type operator+ (const VectorBase< RTYPE, NA, T > &lhs, const typename sugar::NonaPrimitive< U > &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type operator+ (const typename sugar::NonaPrimitive< U > &rhs, const VectorBase< RTYPE, NA, T > &lhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Plus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator+ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type operator* (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type operator* (const U &rhs, const VectorBase< RTYPE, NA, T > &lhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type operator* (const VectorBase< RTYPE, NA, T > &lhs, const typename sugar::NonaPrimitive< U > &rhs)
template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type operator* (const typename sugar::NonaPrimitive< U > &rhs, const VectorBase< RTYPE, NA, T > &lhs)
template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Times_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator* (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 RCPP_API_CLASS (Symbol_Impl)
SEXP unwindProtect (SEXP(*callback)(void *data), void *data)
SEXP unwindProtect (std::function< SEXP(void)> callback)
template<typename T, typename Function>
List lapply (const ListOf< T > &t, Function fun)
template<typename T, typename Function>
sapply (const ListOf< T > &t, Function fun)
internal::DimNameProxy rownames (SEXP x)
internal::DimNameProxy colnames (SEXP x)
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< REALSXP, StoragePolicy > &rhs)
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< INTSXP, StoragePolicy > &rhs)
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< STRSXP, StoragePolicy > &rhs)
template<int RTYPE, template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< RTYPE, StoragePolicy > &rhs)
template<int RTYPE, template< class > class StoragePolicy>
Matrix< RTYPE, StoragePolicy > tranpose_impl (const Matrix< RTYPE, StoragePolicy > &x)
template<template< class > class StoragePolicy>
Matrix< REALSXP, StoragePolicy > transpose (const Matrix< REALSXP, StoragePolicy > &x)
template<template< class > class StoragePolicy>
Matrix< INTSXP, StoragePolicy > transpose (const Matrix< INTSXP, StoragePolicy > &x)
template<template< class > class StoragePolicy>
Matrix< STRSXP, StoragePolicy > transpose (const Matrix< STRSXP, StoragePolicy > &x)
no_init_vector no_init (R_xlen_t size)
no_init_matrix no_init (int nr, int nc)
template<int RTYPE, template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Vector< RTYPE, StoragePolicy > &rhs)
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Vector< STRSXP, StoragePolicy > &rhs)
 RCPP_API_CLASS (WeakReference_Impl)
template<typename T>
void standard_delete_finalizer (T *obj)
template<typename T, void Finalizer>
void finalizer_wrapper (SEXP p)
SEXP Rcpp_PreserveObject (SEXP x)
void Rcpp_ReleaseObject (SEXP x)
SEXP Rcpp_ReplaceObject (SEXP x, SEXP y)
SEXP Rcpp_PreciousPreserve (SEXP object)
void Rcpp_PreciousRelease (SEXP token)
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, int_fast32_t *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 int_fast32_t transtime (int year, const struct rule *rulep, int_fast32_t offset)
static struct tmtimesub (const time_t *timep, int_fast32_t offset, const struct state *sp, struct tm *tmp)
static int leaps_thru_end_of (const int y)
static int increment_overflow (int *const ip, int j)
static int increment_overflow_time (time_t *tp, int_fast32_t j)
static int_fast32_t detzcode (const char *const codep)
static int_fast64_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, int_fast32_t *const offsetp)
static int tzload (const char *name, struct state *const sp, const int doextend)
static void gmtload (struct state *const sp)
static struct tmgmtsub (const time_t *const timep, const int_fast32_t offset, struct tm *const tmp)
template<typename T1, typename T2>
cbind_impl::matrix_return< T1 >::type cbind (const T1 &t1, const T2 &t2)

Variables

 DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >
 DottedPairImpl< DottedPair_Impl< StoragePolicy > >
 BindingPolicy< Environment_Impl< StoragePolicy > >
 DottedPairProxyPolicy< Formula_Impl< StoragePolicy > >
 DottedPairImpl< Formula_Impl< StoragePolicy > >
static Rostream< true > Rcout = Rcpp_cout_get()
static Rostream< false > Rcerr = Rcpp_cerr_get()
 DottedPairProxyPolicy< Language_Impl< StoragePolicy > >
 DottedPairImpl< Language_Impl< StoragePolicy > >
static Na_Proxy NA
static internal::NamedPlaceHolder _
 DottedPairProxyPolicy< Pairlist_Impl< StoragePolicy > >
 DottedPairImpl< Pairlist_Impl< StoragePolicy > >
 FieldProxyPolicy< Reference_Impl< StoragePolicy > >
 DottedPairProxyPolicy< StretchyList_Impl< StoragePolicy > >
static SEXP Rcpp_precious = R_NilValue
static time_t const time_t_min = MINVAL(time_t, TYPE_BIT(time_t))
static time_t const time_t_max = MAXVAL(time_t, TYPE_BIT(time_t))
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 Modulecurrent_scope

Detailed Description

Rcpp API.

Typedef Documentation

◆ CharacterMatrix

typedef Matrix<STRSXP> Rcpp::CharacterMatrix

Definition at line 46 of file instantiation.h.

◆ CharacterVector

typedef Vector<STRSXP> Rcpp::CharacterVector

Definition at line 34 of file instantiation.h.

◆ ComplexMatrix

typedef Matrix<CPLXSXP> Rcpp::ComplexMatrix

Definition at line 40 of file instantiation.h.

◆ ComplexVector

typedef Vector<CPLXSXP> Rcpp::ComplexVector

Definition at line 27 of file instantiation.h.

◆ const_CppMethodN

template<typename Class, typename RESULT_TYPE, typename... T>
using Rcpp::const_CppMethodN = CppMethodImplN<true, Class, RESULT_TYPE, T...>

Definition at line 401 of file Module.h.

◆ Const_Pointer_CppMethodN

template<typename Class, typename RESULT_TYPE, typename... T>
using Rcpp::Const_Pointer_CppMethodN = Pointer_CppMethodImplN<true, Class, RESULT_TYPE, T...>

Definition at line 431 of file Module.h.

◆ const_Proxy

◆ CppMethodN

template<typename Class, typename RESULT_TYPE, typename... T>
using Rcpp::CppMethodN = CppMethodImplN<false, Class, RESULT_TYPE, T...>

Definition at line 398 of file Module.h.

◆ DataFrame

Definition at line 185 of file DataFrame.h.

◆ DatetimeVector

Definition at line 45 of file date_datetime.h.

◆ DateVector

Definition at line 44 of file date_datetime.h.

◆ DottedPair

typedef DottedPair_Impl<PreserveStorage> Rcpp::DottedPair

Definition at line 47 of file DottedPair.h.

◆ DoubleVector

typedef Vector<REALSXP> Rcpp::DoubleVector

Definition at line 31 of file instantiation.h.

◆ Environment

Definition at line 378 of file Environment.h.

◆ ExpressionMatrix

typedef Matrix<EXPRSXP> Rcpp::ExpressionMatrix

Definition at line 50 of file instantiation.h.

◆ ExpressionVector

typedef Vector<EXPRSXP> Rcpp::ExpressionVector

Definition at line 38 of file instantiation.h.

◆ Formula

Definition at line 77 of file Formula.h.

◆ Function

typedef Function_Impl<PreserveStorage> Rcpp::Function

Definition at line 144 of file Function.h.

◆ GenericMatrix

typedef Matrix<VECSXP> Rcpp::GenericMatrix

Definition at line 48 of file instantiation.h.

◆ GenericVector

typedef Vector<VECSXP> Rcpp::GenericVector

Definition at line 36 of file instantiation.h.

◆ IntegerMatrix

typedef Matrix<INTSXP> Rcpp::IntegerMatrix

Definition at line 41 of file instantiation.h.

◆ IntegerVector

typedef Vector<INTSXP> Rcpp::IntegerVector

Definition at line 28 of file instantiation.h.

◆ InternalFunction

typedef InternalFunction_Impl<PreserveStorage> Rcpp::InternalFunction

Definition at line 63 of file InternalFunction.h.

◆ Language

Definition at line 170 of file Language.h.

◆ List

typedef Vector<VECSXP> Rcpp::List

Definition at line 37 of file instantiation.h.

◆ ListMatrix

typedef Matrix<VECSXP> Rcpp::ListMatrix

Definition at line 49 of file instantiation.h.

◆ LogicalMatrix

typedef Matrix<LGLSXP> Rcpp::LogicalMatrix

Definition at line 42 of file instantiation.h.

◆ LogicalVector

typedef Vector<LGLSXP> Rcpp::LogicalVector

Definition at line 29 of file instantiation.h.

◆ nanotime_t

typedef uint64_t Rcpp::nanotime_t

Definition at line 47 of file Timer.h.

◆ NumericMatrix

typedef Matrix<REALSXP> Rcpp::NumericMatrix

Definition at line 43 of file instantiation.h.

◆ NumericVector

◆ Pairlist

Definition at line 57 of file Pairlist.h.

◆ Pointer_CppMethodN

template<typename Class, typename RESULT_TYPE, typename... T>
using Rcpp::Pointer_CppMethodN = Pointer_CppMethodImplN<false, Class, RESULT_TYPE, T...>

Definition at line 428 of file Module.h.

◆ Promise

typedef Promise_Impl<PreserveStorage> Rcpp::Promise

Definition at line 84 of file Promise.h.

◆ RawMatrix

typedef Matrix<RAWSXP> Rcpp::RawMatrix

Definition at line 44 of file instantiation.h.

◆ RawVector

typedef Vector<RAWSXP> Rcpp::RawVector

Definition at line 32 of file instantiation.h.

◆ Reference

typedef Reference_Impl<PreserveStorage> Rcpp::Reference

Definition at line 71 of file Reference.h.

◆ RObject

typedef RObject_Impl<PreserveStorage> Rcpp::RObject

Definition at line 58 of file RObject.h.

◆ S4

typedef S4_Impl<PreserveStorage> Rcpp::S4

Definition at line 76 of file S4.h.

◆ StretchyList

Definition at line 83 of file StretchyList.h.

◆ StringMatrix

typedef Matrix<STRSXP> Rcpp::StringMatrix

Definition at line 47 of file instantiation.h.

◆ StringVector

typedef Vector<STRSXP> Rcpp::StringVector

Definition at line 35 of file instantiation.h.

◆ Symbol

typedef Symbol_Impl<NoProtectStorage> Rcpp::Symbol

Definition at line 76 of file Symbol.h.

◆ ValidConstructor

typedef bool(* Rcpp::ValidConstructor) (SEXP *, int)

Definition at line 249 of file Module.h.

◆ ValidMethod

typedef bool(* Rcpp::ValidMethod) (SEXP *, int)

Definition at line 250 of file Module.h.

◆ WeakReference

typedef WeakReference_Impl<PreserveStorage> Rcpp::WeakReference

Definition at line 64 of file WeakReference.h.

Function Documentation

◆ __any() [1/2]

template<class InputIterator, class T>
bool Rcpp::__any ( InputIterator first,
InputIterator last,
const T & value,
std::input_iterator_tag  )
inline

Definition at line 32 of file algo.h.

Referenced by any().

◆ __any() [2/2]

template<class RandomAccessIterator, class T>
bool Rcpp::__any ( RandomAccessIterator __first,
RandomAccessIterator __last,
const T & __val,
std::random_access_iterator_tag  )
inline

Definition at line 39 of file algo.h.

◆ __any_if() [1/2]

template<class InputIterator, class Predicate>
bool Rcpp::__any_if ( InputIterator first,
InputIterator last,
Predicate pred,
std::input_iterator_tag  )
inline

Definition at line 98 of file algo.h.

Referenced by any_if().

◆ __any_if() [2/2]

template<class RandomAccessIterator, class Predicate>
bool Rcpp::__any_if ( RandomAccessIterator __first,
RandomAccessIterator __last,
Predicate __pred,
std::random_access_iterator_tag  )
inline

Definition at line 105 of file algo.h.

◆ all()

template<bool NA, typename T>
sugar::All< NA, T > Rcpp::all ( const Rcpp::VectorBase< LGLSXP, NA, T > & t)
inline

Definition at line 84 of file all.h.

Referenced by ls().

◆ any() [1/2]

template<bool NA, typename T>
sugar::Any< NA, T > Rcpp::any ( const Rcpp::VectorBase< LGLSXP, NA, T > & t)
inline

Definition at line 81 of file any.h.

◆ any() [2/2]

template<class InputIterator, class T>
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::sugar::Median< RTYPE, NA, T, NA_RM >::operator result_type(), and Rcpp::sugar::Median< STRSXP, NA, T, NA_RM >::operator result_type().

Here is the call graph for this function:

◆ any_if()

template<class InputIterator, class Predicate>
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().

Here is the call graph for this function:

◆ as() [1/2]

template<>
SEXP Rcpp::as ( SEXP x)
inline

Definition at line 163 of file as.h.

◆ as() [2/2]

template<typename T>
T Rcpp::as ( SEXP x)

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 150 of file as.h.

References Rcpp::internal::as().

Referenced by Rcpp::Nullable< Vector< REALSXP > >::as(), Rcpp::attributes::SourceFileAttributesParser::attributeWarning(), bare_as(), Rcpp::attributes::checkRSignature(), compileAttributes(), Rcpp::ConstInputParameter< T >::ConstInputParameter(), Rcpp::ConstReferenceInputParameter< T >::ConstReferenceInputParameter(), Rcpp::Date::Date(), Rcpp::Date::Date(), Rcpp::Datetime::Datetime(), Rcpp::Datetime::Datetime(), Rcpp::Dimension::Dimension(), Rcpp::internal::export_range__dispatch(), Rcpp::attributes::FileInfo::FileInfo(), Rcpp::DataFrame_Impl< PreserveStorage >::from_list(), Rcpp::Constructor< Class, T >::get_new_impl(), Rcpp::ListOf< T >::ListOf(), Rcpp::ListOf< T >::ListOf(), Module__invoke(), Rcpp::AttributeProxyPolicy< CLASS >::const_AttributeProxy::operator T(), Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator T(), Rcpp::BindingPolicy< EnvironmentClass >::const_Binding::operator T(), Rcpp::DottedPairProxyPolicy< CLASS >::const_DottedPairProxy::operator T(), Rcpp::DottedPairProxyPolicy< CLASS >::DottedPairProxy::operator T(), Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::operator T(), Rcpp::FieldProxyPolicy< CLASS >::FieldProxy::operator T(), Rcpp::InputParameter< T >::operator T(), Rcpp::NamesProxyPolicy< CLASS >::const_NamesProxy::operator T(), Rcpp::NamesProxyPolicy< CLASS >::NamesProxy::operator T(), Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::operator T(), Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator T(), Rcpp::ProtectedProxyPolicy< XPtrClass >::const_ProtectedProxy::operator U(), Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator U(), Rcpp::binary_call< T1, T2, RESULT_TYPE >::operator()(), Rcpp::fixed_call< RESULT_TYPE >::operator()(), Rcpp::unary_call< T, RESULT_TYPE >::operator()(), Rcpp::ChildVector< T >::operator=(), Rcpp::ListOf< T >::operator=(), PiLeibniz(), Rcpp::ReferenceInputParameter< T >::ReferenceInputParameter(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::set(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::set(), CppProperty_GetMethod_SetMethod< Class, PROP >::set(), CppProperty_GetMethod_SetPointer< Class, PROP >::set(), CppProperty_GetPointer_SetMethod< Class, PROP >::set(), CppProperty_GetPointer_SetPointer< Class, PROP >::set(), CppProperty_Getter_Setter< PROP >::set(), sourceCppContext(), and Rcpp::attributes::SourceFileAttributesParser::SourceFileAttributesParser().

Here is the call graph for this function:

◆ as< char >()

template<>
char Rcpp::as< char > ( SEXP x)
inline

Definition at line 154 of file as.h.

References Rcpp::internal::check_single_string().

Here is the call graph for this function:

◆ as_vector()

template<int RTYPE, bool NA, typename T>
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().

Here is the call graph for this function:

◆ assign() [1/3]

bool Rcpp::assign ( const std::string & name,
const Shield< SEXP > & x ) const

Definition at line 193 of file Environment.h.

References assign().

Here is the call graph for this function:

◆ assign() [2/3]

template<typename WRAPPABLE>
bool Rcpp::assign ( const std::string & name,
const WRAPPABLE & x ) const

wrap and assign. If there is a wrap method taking an object of WRAPPABLE type, then it is wrapped and the corresponding SEXP is assigned in the environment

Parameters
namename of the object to assign
xwrappable object. anything that has a wrap( WRAPPABLE ) is fine

◆ assign() [3/3]

bool Rcpp::assign ( const std::string & name,
SEXP x ) const

Attempts to assign x to name in this environment

Parameters
namename of the object to assign
xobject to assign
Returns
true if the assign was successfull see ?bindingIsLocked
Exceptions
binding_is_lockedif the binding is locked

Definition at line 186 of file Environment.h.

References bindingIsLocked(), and exists().

Referenced by assign().

Here is the call graph for this function:

◆ bare_as()

template<typename T>
traits::remove_const_and_reference< T >::type Rcpp::bare_as ( SEXP x)
inline

Definition at line 159 of file as.h.

References as().

Referenced by Rcpp::CppProperty_GetPointer_SetPointer< Class, PROP >::get().

Here is the call graph for this function:

◆ base_env()

Environment_Impl Rcpp::base_env ( )
static
Returns
the base environment. See ?baseenv

Definition at line 317 of file Environment.h.

References Environment_Impl().

Here is the call graph for this function:

◆ base_namespace()

Environment_Impl Rcpp::base_namespace ( )
static
Returns
the base namespace. See ?baseenv

Definition at line 324 of file Environment.h.

References Environment_Impl().

Here is the call graph for this function:

◆ bindingIsActive()

bool Rcpp::bindingIsActive ( const std::string & name) const
Parameters
namename of a binding
Returns
true if the binding is active in this environment see ?bindingIsActive
Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 294 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ bindingIsLocked()

bool Rcpp::bindingIsLocked ( const std::string & name) const
Parameters
namename of a potential binding
Returns
true if the binding is locked in this environment see ?bindingIsLocked
Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 279 of file Environment.h.

References exists().

Referenced by assign(), and remove().

Here is the call graph for this function:

◆ cbind()

template<typename T1, typename T2>
cbind_impl::matrix_return< T1 >::type Rcpp::sugar::cbind ( const T1 & t1,
const T2 & t2 )
inline

Definition at line 516 of file cbind.h.

◆ checkUserInterrupt()

void Rcpp::checkUserInterrupt ( )
inline

Definition at line 59 of file Interrupt.h.

◆ clamp()

template<int RTYPE, bool NA, typename T>
sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > Rcpp::clamp ( typename Rcpp::traits::storage_type< RTYPE >::type lhs,
const Rcpp::VectorBase< RTYPE, NA, T > & vec,
typename Rcpp::traits::storage_type< RTYPE >::type rhs )
inline

Definition at line 84 of file clamp.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ clone()

◆ col()

template<int RTYPE, bool LHS_NA, typename LHS_T>
sugar::Col< RTYPE, LHS_NA, LHS_T > Rcpp::col ( const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & lhs)
inline

Definition at line 55 of file col.h.

◆ collapse()

template<bool NA, typename T>
String Rcpp::collapse ( const VectorBase< STRSXP, NA, T > & vec)
inline

Definition at line 41 of file collapse.h.

References Rcpp::sugar::collapse__impl(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

◆ colMeans()

template<int RTYPE, bool NA, typename T>
sugar::detail::ColMeansReturn< RTYPE >::type Rcpp::colMeans ( const MatrixBase< RTYPE, NA, T > & x,
bool na_rm = false )
inline

Definition at line 891 of file rowSums.h.

◆ colnames()

internal::DimNameProxy Rcpp::colnames ( SEXP x)
inline

Definition at line 213 of file Matrix.h.

◆ colSums()

template<int RTYPE, bool NA, typename T>
sugar::detail::ColSumsReturn< RTYPE >::type Rcpp::colSums ( const MatrixBase< RTYPE, NA, T > & x,
bool na_rm = false )
inline

Definition at line 873 of file rowSums.h.

◆ converter()

template<typename FROM, typename TO>
void Rcpp::converter ( const char * from,
const char * to,
TO(* fun )(FROM),
const char * docstring = 0 )

Definition at line 564 of file Module.h.

References converter(), function(), and Rcpp::internal::get_converter_name().

Referenced by converter().

Here is the call graph for this function:

◆ ctor_signature()

template<typename... T>
void Rcpp::ctor_signature ( std::string & s,
const std::string & classname )
inline

Definition at line 177 of file Module.h.

Referenced by Rcpp::class_< Class >::invoke_void().

◆ cummax() [1/2]

template<bool NA, typename T>
sugar::Cummax< INTSXP, NA, T > Rcpp::cummax ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 59 of file cummax.h.

◆ cummax() [2/2]

template<bool NA, typename T>
sugar::Cummax< REALSXP, NA, T > Rcpp::cummax ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 64 of file cummax.h.

◆ cummin() [1/2]

template<bool NA, typename T>
sugar::Cummin< INTSXP, NA, T > Rcpp::cummin ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 59 of file cummin.h.

◆ cummin() [2/2]

template<bool NA, typename T>
sugar::Cummin< REALSXP, NA, T > Rcpp::cummin ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 64 of file cummin.h.

◆ cumprod() [1/3]

template<bool NA, typename T>
sugar::Cumprod< CPLXSXP, NA, T > Rcpp::cumprod ( const VectorBase< CPLXSXP, NA, T > & t)
inline

Definition at line 70 of file cumprod.h.

◆ cumprod() [2/3]

template<bool NA, typename T>
sugar::Cumprod< INTSXP, NA, T > Rcpp::cumprod ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 60 of file cumprod.h.

◆ cumprod() [3/3]

template<bool NA, typename T>
sugar::Cumprod< REALSXP, NA, T > Rcpp::cumprod ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 65 of file cumprod.h.

◆ cumsum() [1/2]

template<bool NA, typename T>
sugar::Cumsum< INTSXP, NA, T > Rcpp::cumsum ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 60 of file cumsum.h.

◆ cumsum() [2/2]

template<bool NA, typename T>
sugar::Cumsum< REALSXP, NA, T > Rcpp::cumsum ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 65 of file cumsum.h.

◆ detzcode()

int_fast32_t Rcpp::detzcode ( const char *const codep)
static

Definition at line 481 of file date.cpp.

Referenced by tzload().

◆ detzcode64()

int_fast64_t Rcpp::detzcode64 ( const char *const codep)
static

Definition at line 488 of file date.cpp.

Referenced by tzload().

◆ dexp()

template<bool NA, typename T>
stats::D1< REALSXP, NA, T > Rcpp::dexp ( const Rcpp::VectorBase< REALSXP, NA, T > & x,
double shape,
bool log = false )
inline

Definition at line 81 of file exp.h.

◆ diag()

template<typename T>
sugar::diag_result_type_trait< T >::type Rcpp::diag ( const T & t)
inline

◆ diff() [1/2]

template<bool LHS_NA, typename LHS_T>
sugar::Diff< INTSXP, LHS_NA, LHS_T > Rcpp::diff ( const VectorBase< INTSXP, LHS_NA, LHS_T > & lhs)
inline

Definition at line 125 of file diff.h.

Referenced by compileAttributes().

◆ diff() [2/2]

template<bool LHS_NA, typename LHS_T>
sugar::Diff< REALSXP, LHS_NA, LHS_T > Rcpp::diff ( const VectorBase< REALSXP, LHS_NA, LHS_T > & lhs)
inline

Definition at line 132 of file diff.h.

◆ differ_by_repeat()

int Rcpp::differ_by_repeat ( const time_t t1,
const time_t t0 )
static

Definition at line 495 of file date.cpp.

References SECSPERREPEAT, SECSPERREPEAT_BITS, TYPE_BIT, TYPE_INTEGRAL, and TYPE_SIGNED.

Referenced by tzload().

◆ duplicated()

template<int RTYPE, bool NA, typename T>
LogicalVector Rcpp::duplicated ( const VectorBase< RTYPE, NA, T > & x)
inline

Definition at line 28 of file duplicated.h.

References Rcpp::sugar::IndexHash< RTYPE >::fill_and_get_duplicated().

Here is the call graph for this function:

◆ empty_env()

Environment_Impl Rcpp::empty_env ( )
static
Returns
The empty environment. See ?emptyenv

Definition at line 310 of file Environment.h.

References Environment_Impl().

Here is the call graph for this function:

◆ Environment_Impl() [1/3]

Rcpp::Environment_Impl ( const std::string & name)

Gets the environment associated with the given name

Parameters
namename of the environment, e.g "package:Rcpp"

◆ Environment_Impl() [2/3]

Rcpp::Environment_Impl ( int pos)

Gets the environment in the given position of the search path

Parameters
pos(1-based) position of the environment, e.g pos=1 gives the global environment

◆ Environment_Impl() [3/3]

Rcpp::Environment_Impl ( SEXP x)

wraps the given environment

if the SEXP is not an environment, and exception is thrown

Definition at line 57 of file Environment.h.

Referenced by base_env(), base_namespace(), empty_env(), global_env(), namespace_env(), new_child(), parent(), and Rcpp_namespace().

◆ eval() [1/2]

SEXP Rcpp::eval ( ) const

eval this call in the global environment

Definition at line 143 of file Language.h.

References Rcpp_fast_eval().

Referenced by Rcpp::attributes::checkRSignature().

Here is the call graph for this function:

◆ eval() [2/2]

SEXP Rcpp::eval ( SEXP env) const

eval this call in the requested environment

Definition at line 150 of file Language.h.

References Rcpp_fast_eval().

Here is the call graph for this function:

◆ exists()

bool Rcpp::exists ( const std::string & name) const

Indicates if an object called name exists in the environment

Parameters
namename of the object
Returns
true if the object exists in the environment

Definition at line 164 of file Environment.h.

Referenced by assign(), bindingIsActive(), bindingIsLocked(), Rcpp::attributes::ExportsGenerator::commit(), Rcpp::attributes::createDirectory(), Rcpp::attributes::ExportsGenerator::ExportsGenerator(), lockBinding(), remove(), Rcpp::attributes::removeFile(), and unlockBinding().

◆ fast_eval() [1/2]

SEXP Rcpp::fast_eval ( ) const

Definition at line 154 of file Language.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ fast_eval() [2/2]

SEXP Rcpp::fast_eval ( SEXP env) const

Definition at line 157 of file Language.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ finalizer_wrapper()

template<typename T, void Finalizer>
void Rcpp::finalizer_wrapper ( SEXP p)

Definition at line 35 of file XPtr.h.

References DEMANGLE, and RCPP_DEBUG_3.

Referenced by Rcpp::XPtr< Class >::release(), and Rcpp::XPtr< Class >::setDeleteFinalizer().

◆ find() [1/2]

SEXP Rcpp::find ( const std::string & name) const

Get an object from the environment or one of its parents

Parameters
namename of the object

Definition at line 131 of file Environment.h.

References find().

Referenced by Rcpp::attributes::CppExportsIncludeGenerator::commit(), and find().

Here is the call graph for this function:

◆ find() [2/2]

SEXP Rcpp::find ( Symbol name) const

Get an object from the environment or one of its parents

Parameters
namesymbol name to call

Definition at line 142 of file Environment.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ Formula_Impl() [1/2]

Rcpp::Formula_Impl ( const std::string & code)
explicit

Definition at line 69 of file Formula.h.

References Rcpp::internal::convert_using_rfunction().

Here is the call graph for this function:

◆ Formula_Impl() [2/2]

Rcpp::Formula_Impl ( SEXP x)

Definition at line 40 of file Formula.h.

References Rcpp::internal::convert_using_rfunction().

Here is the call graph for this function:

◆ function() [1/2]

◆ function() [2/2]

template<typename RESULT_TYPE, typename... T>
void Rcpp::function ( const char * name_,
RESULT_TYPE(* fun )(T... t),
Rcpp::List formals,
const char * docstring = 0 )

Definition at line 552 of file Module.h.

References Rcpp::Module::Add(), and getCurrentScope().

Here is the call graph for this function:

◆ get() [1/2]

◆ get() [2/2]

SEXP Rcpp::get ( Symbol name) const

Get an object from the environment

Parameters
namesymbol name to call
Returns
a SEXP (possibly R_NilValue)

Definition at line 110 of file Environment.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ get_return_type()

template<typename RESULT_TYPE>
std::string Rcpp::get_return_type ( )
inline

Definition at line 42 of file get_return_type.h.

References get_return_type_dispatch().

Referenced by Rcpp::CppProperty_GetConstMethod_SetPointer< Class, PROP >::set().

Here is the call graph for this function:

◆ get_return_type< Rcpp::CharacterVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::CharacterVector > ( )
inline

Definition at line 74 of file get_return_type.h.

◆ get_return_type< Rcpp::ExpressionVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::ExpressionVector > ( )
inline

Definition at line 66 of file get_return_type.h.

◆ get_return_type< Rcpp::IntegerVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::IntegerVector > ( )
inline

Definition at line 54 of file get_return_type.h.

◆ get_return_type< Rcpp::List >()

template<>
std::string Rcpp::get_return_type< Rcpp::List > ( )
inline

Definition at line 70 of file get_return_type.h.

◆ get_return_type< Rcpp::NumericVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::NumericVector > ( )
inline

Definition at line 58 of file get_return_type.h.

◆ get_return_type< Rcpp::RawVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::RawVector > ( )
inline

Definition at line 62 of file get_return_type.h.

◆ get_return_type< SEXP >()

template<>
std::string Rcpp::get_return_type< SEXP > ( )
inline

Definition at line 50 of file get_return_type.h.

◆ get_return_type< void_type >()

template<>
std::string Rcpp::get_return_type< void_type > ( )
inline

Definition at line 46 of file get_return_type.h.

◆ get_return_type_dispatch() [1/2]

template<typename RESULT_TYPE>
std::string Rcpp::get_return_type_dispatch ( Rcpp::traits::false_type )
inline

Definition at line 30 of file get_return_type.h.

References demangle().

Referenced by get_return_type().

Here is the call graph for this function:

◆ get_return_type_dispatch() [2/2]

template<typename RESULT_TYPE>
std::string Rcpp::get_return_type_dispatch ( Rcpp::traits::true_type )
inline

Definition at line 34 of file get_return_type.h.

References demangle().

Here is the call graph for this function:

◆ getnum()

const char * Rcpp::getnum ( const char * strp,
int *const nump,
const int min,
const int max )
static

Definition at line 567 of file date.cpp.

References is_digit, max(), and min().

Referenced by getrule(), and getsecs().

Here is the call graph for this function:

◆ getoffset()

const char * Rcpp::getoffset ( const char * strp,
int_fast32_t *const offsetp )
static

Definition at line 520 of file date.cpp.

References getsecs().

Referenced by tzparse().

Here is the call graph for this function:

◆ getqzname()

const char * Rcpp::getqzname ( const char * strp,
const int delim )
static

Definition at line 512 of file date.cpp.

Referenced by tzparse().

◆ getrule()

const char * Rcpp::getrule ( const char * strp,
struct rule *const rulep )
static

◆ getsecs()

const char * Rcpp::getsecs ( const char * strp,
int_fast32_t * secsp )
static

Definition at line 536 of file date.cpp.

References DAYSPERWEEK, getnum(), HOURSPERDAY, MINSPERHOUR, SECSPERHOUR, and SECSPERMIN.

Referenced by getoffset(), and getrule().

Here is the call graph for this function:

◆ getzname()

const char * Rcpp::getzname ( const char * strp)
static

Definition at line 503 of file date.cpp.

References is_digit.

Referenced by tzparse().

◆ global_env()

Environment_Impl Rcpp::global_env ( )
static
Returns
the global environment. See ?globalenv

Definition at line 303 of file Environment.h.

References Environment_Impl().

Here is the call graph for this function:

◆ gmtime_()

struct tm * Rcpp::gmtime_ ( const time_t *const x)
inline

◆ gmtload()

void Rcpp::gmtload ( struct state *const sp)
static

Definition at line 1355 of file date.cpp.

References gmt, tzload(), and tzparse().

Referenced by gmtsub().

Here is the call graph for this function:

◆ gmtsub()

struct tm * Rcpp::gmtsub ( const time_t *const timep,
const int_fast32_t offset,
struct tm *const tmp )
static

Definition at line 1364 of file date.cpp.

References gmt_is_set, gmtload(), gmtptr, timesub(), and tm.

Here is the call graph for this function:

◆ grow() [1/3]

SEXP Rcpp::grow ( const char * head,
SEXP tail )
inline

Definition at line 68 of file grow.h.

References grow(), head(), and tail().

Here is the call graph for this function:

◆ grow() [2/3]

template<typename T>
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 63 of file grow.h.

References Rcpp::internal::grow__dispatch(), head(), and tail().

Here is the call graph for this function:

◆ grow() [3/3]

SEXP Rcpp::grow ( SEXP head,
SEXP tail )
inline

◆ head()

template<int RTYPE, bool NA, typename T>
sugar::Head< RTYPE, NA, T > Rcpp::head ( const VectorBase< RTYPE, NA, T > & t,
R_xlen_t n )
inline

◆ ifelse() [1/7]

template<bool COND_NA, typename COND_T>
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

Definition at line 419 of file ifelse.h.

◆ ifelse() [2/7]

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 > 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.

◆ ifelse() [3/7]

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 > 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

Definition at line 371 of file ifelse.h.

◆ ifelse() [4/7]

template<bool COND_NA, typename COND_T>
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

Definition at line 383 of file ifelse.h.

◆ ifelse() [5/7]

template<bool COND_NA, typename COND_T>
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

Definition at line 395 of file ifelse.h.

◆ ifelse() [6/7]

template<bool COND_NA, typename COND_T>
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

Definition at line 407 of file ifelse.h.

◆ ifelse() [7/7]

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 > 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

Definition at line 357 of file ifelse.h.

◆ in()

template<int RTYPE, bool NA, typename T, bool RHS_NA, typename RHS_T>
LogicalVector Rcpp::in ( const VectorBase< RTYPE, NA, T > & x,
const VectorBase< RTYPE, RHS_NA, RHS_T > & table )
inline

Definition at line 77 of file unique.h.

References Rcpp::sugar::In< RTYPE, TABLE_T >::get(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and table().

Here is the call graph for this function:

◆ increment_overflow()

int Rcpp::increment_overflow ( int *const ip,
int j )
static

Definition at line 452 of file date.cpp.

Referenced by timesub().

◆ increment_overflow_time()

int Rcpp::increment_overflow_time ( time_t * tp,
int_fast32_t j )
static

Definition at line 467 of file date.cpp.

References time_t_max, time_t_min, and TYPE_SIGNED.

Referenced by tzparse().

◆ intersect()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > Rcpp::intersect ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 172 of file setdiff.h.

References Rcpp::sugar::Intersect< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is()

template<typename T>
bool Rcpp::is ( SEXP x)

identify if an x can be seen as the T type

example: bool is_list = is<List>( x ) ;

Definition at line 53 of file is.h.

References Rcpp::internal::is__dispatch().

Referenced by RCPP_API_CLASS().

Here is the call graph for this function:

◆ is_false()

template<bool NA, typename T>
bool Rcpp::is_false ( const Rcpp::sugar::SingleLogicalResult< NA, T > & x)
inline

Definition at line 33 of file is.h.

References is_false().

Referenced by is_false().

Here is the call graph for this function:

◆ is_finite()

template<int RTYPE, bool NA, typename T>
sugar::IsFinite< RTYPE, NA, T > Rcpp::is_finite ( const Rcpp::VectorBase< RTYPE, NA, T > & t)
inline

Definition at line 49 of file is_finite.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_infinite()

template<int RTYPE, bool NA, typename T>
sugar::IsInfinite< RTYPE, NA, T > Rcpp::is_infinite ( const Rcpp::VectorBase< RTYPE, NA, T > & t)
inline

Definition at line 49 of file is_infinite.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_na() [1/6]

sugar::IsNa_Vector_is_na< oldDatetimeVector > Rcpp::is_na ( const oldDatetimeVector & x)
inline

Definition at line 95 of file is_na.h.

◆ is_na() [2/6]

sugar::IsNa_Vector_is_na< oldDateVector > Rcpp::is_na ( const oldDateVector & x)
inline

Definition at line 99 of file is_na.h.

◆ is_na() [3/6]

template<bool NA, typename T>
bool Rcpp::is_na ( const Rcpp::sugar::SingleLogicalResult< NA, T > & x)
inline

Definition at line 38 of file is.h.

References is_na().

Here is the call graph for this function:

◆ is_na() [4/6]

template<int RTYPE, bool NA, typename T>
sugar::IsNa< RTYPE, NA, T > Rcpp::is_na ( const Rcpp::VectorBase< RTYPE, NA, T > & t)
inline

◆ is_na() [5/6]

Definition at line 103 of file is_na.h.

◆ is_na() [6/6]

Definition at line 106 of file is_na.h.

◆ is_nan()

template<int RTYPE, bool NA, typename T>
sugar::IsNaN< RTYPE, NA, T > Rcpp::is_nan ( const Rcpp::VectorBase< RTYPE, NA, T > & t)
inline

Definition at line 49 of file is_nan.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_true()

template<bool NA, typename T>
bool Rcpp::is_true ( const Rcpp::sugar::SingleLogicalResult< NA, T > & x)
inline

Definition at line 28 of file is.h.

References is_true().

Referenced by is_true().

Here is the call graph for this function:

◆ isLocked()

bool Rcpp::isLocked ( ) const
Returns
true if this environment is locked see ?environmentIsLocked for details of what this means

Definition at line 212 of file Environment.h.

◆ langlist() [1/2]

template<typename T, typename... TArgs>
SEXP Rcpp::langlist ( const T & t1,
const TArgs &... args )

Definition at line 71 of file lgrow.h.

References langlist(), and lgrow().

Here is the call graph for this function:

◆ langlist() [2/2]

template<typename T1>
SEXP Rcpp::langlist ( const T1 & t1)

Definition at line 66 of file lgrow.h.

References lgrow().

Referenced by langlist(), Language_Impl(), and Language_Impl().

Here is the call graph for this function:

◆ Language_Impl() [1/7]

Rcpp::Language_Impl ( )

Definition at line 42 of file Language.h.

References Language_Impl().

Referenced by Language_Impl().

Here is the call graph for this function:

◆ Language_Impl() [2/7]

Rcpp::Language_Impl ( const Function & function)
explicit

Creates a call to the function

Parameters
functionfunction to call

Definition at line 84 of file Language.h.

References function().

Here is the call graph for this function:

◆ Language_Impl() [3/7]

template<typename... T>
Rcpp::Language_Impl ( const Function & function,
const T &... t )

Definition at line 111 of file Language.h.

References function(), and langlist().

Here is the call graph for this function:

◆ Language_Impl() [4/7]

Rcpp::Language_Impl ( const std::string & symbol)
explicit

Creates a call using the given symbol as the function name

Parameters
symbolsymbol name to call

Language( "rnorm" ) makes a SEXP similar to this (expressed in R)

as.call( as.list( as.name( "rnorm") ) ) call( "rnorm" )

Definition at line 63 of file Language.h.

◆ Language_Impl() [5/7]

template<typename... T>
Rcpp::Language_Impl ( const std::string & symbol,
const T &... t )

Creates a call to the given symbol using variable number of arguments

Parameters
symbolsymbol
...Argsvariable length argument list. The type of each argument must be wrappable, meaning there need to be a wrap function that takes this type as its parameter

For example, Language( "rnorm", 10, 0.0 ) will create the same call as

call( "rnorm", 10L, 0.0 )

10 is wrapped as an integer vector using wrap( const& int ) 0.0 is wrapped as a numeric vector using wrap( const& double ) ...

Definition at line 106 of file Language.h.

References langlist().

Here is the call graph for this function:

◆ Language_Impl() [6/7]

Rcpp::Language_Impl ( const Symbol & symbol)
explicit

Creates a call using the given symbol as the function name

Parameters
symbolsymbol name to call

Language( Symbol("rnorm") ) makes a SEXP similar to this:

call( "rnorm" )

Definition at line 75 of file Language.h.

◆ Language_Impl() [7/7]

Rcpp::Language_Impl ( SEXP x)

Attempts to convert the SEXP to a call

Exceptions
not_compatibleif the SEXP could not be converted to a call using as.call

Definition at line 50 of file Language.h.

References r_cast().

Here is the call graph for this function:

◆ lapply() [1/2]

template<typename T, typename Function>
List Rcpp::lapply ( const ListOf< T > & t,
Function fun )

Definition at line 130 of file ListOf.h.

References Rcpp::ListOf< T >::get(), and lapply().

Here is the call graph for this function:

◆ lapply() [2/2]

template<int RTYPE, bool NA, typename T, typename Function>
sugar::Lapply< RTYPE, NA, T, Function > Rcpp::lapply ( const Rcpp::VectorBase< RTYPE, NA, T > & t,
Function fun )
inline

Definition at line 56 of file lapply.h.

Referenced by lapply().

◆ leaps_thru_end_of()

int Rcpp::leaps_thru_end_of ( const int y)
static

Definition at line 1221 of file date.cpp.

References leaps_thru_end_of().

Referenced by leaps_thru_end_of(), and timesub().

Here is the call graph for this function:

◆ lgrow() [1/3]

SEXP Rcpp::lgrow ( const char * head,
SEXP tail )
inline

Definition at line 60 of file lgrow.h.

References head(), lgrow(), and tail().

Here is the call graph for this function:

◆ lgrow() [2/3]

template<typename T>
SEXP Rcpp::lgrow ( const T & head,
SEXP tail )

Definition at line 55 of file lgrow.h.

References head(), Rcpp::internal::lgrow__dispatch(), and tail().

Here is the call graph for this function:

◆ lgrow() [3/3]

SEXP Rcpp::lgrow ( SEXP head,
SEXP tail )
inline

Definition at line 30 of file lgrow.h.

References head(), and tail().

Referenced by langlist(), langlist(), lgrow(), and Rcpp::internal::lgrow__dispatch().

Here is the call graph for this function:

◆ lock()

void Rcpp::lock ( bool bindings = false)

locks this environment. See ?lockEnvironment

Parameters
bindingsalso lock the bindings of this environment ?

Definition at line 243 of file Environment.h.

◆ lockBinding()

void Rcpp::lockBinding ( const std::string & name)

Locks the given binding in the environment. see ?bindingIsLocked

Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 253 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ lower_tri()

template<int RTYPE, bool NA, typename T>
sugar::LowerTri< RTYPE, NA, T > Rcpp::lower_tri ( const Rcpp::MatrixBase< RTYPE, NA, T > & lhs,
bool diag = false )
inline

Definition at line 63 of file lower_tri.h.

References diag().

Here is the call graph for this function:

◆ ls()

SEXP Rcpp::ls ( bool all) const

The list of objects in the environment

the same as calling this from R:

ls( envir = this, all = all )

Parameters
allsame meaning as in ?ls

Definition at line 85 of file Environment.h.

References all().

Here is the call graph for this function:

◆ make_string_transformer()

template<typename UnaryOperator>
StringTransformer< UnaryOperator > Rcpp::make_string_transformer ( const UnaryOperator & fun)

Definition at line 46 of file StringTransformer.h.

◆ mapply() [1/4]

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 > 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 127 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ mapply() [2/4]

template<int RTYPE, bool NA_1, typename T_1, typename Function>
sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, double, Function > Rcpp::mapply ( const Rcpp::VectorBase< RTYPE, NA_1, T_1 > & t1,
double t2,
Function fun )
inline

Definition at line 133 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ mapply() [3/4]

template<int RTYPE_1, bool NA_1, typename T_1, int RTYPE_2, bool NA_2, typename T_2, int RTYPE_3, bool NA_3, typename T_3, typename Function>
sugar::Mapply_3< RTYPE_1, NA_1, T_1, RTYPE_2, NA_2, T_2, RTYPE_3, NA_3, T_3, Function > Rcpp::mapply ( const Rcpp::VectorBase< RTYPE_1, NA_1, T_1 > & t1,
const Rcpp::VectorBase< RTYPE_2, NA_2, T_2 > & t2,
const Rcpp::VectorBase< RTYPE_3, NA_3, T_3 > & t3,
Function fun )
inline

Definition at line 77 of file mapply_3.h.

◆ mapply() [4/4]

template<int RTYPE, bool NA_2, typename T_2, typename Function>
sugar::Mapply_2_Primitive_Vector< RTYPE, double, NA_2, T_2, Function > Rcpp::mapply ( double t1,
const Rcpp::VectorBase< RTYPE, NA_2, T_2 > & t2,
Function fun )
inline

Definition at line 139 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ match()

template<int RTYPE, bool NA, typename T, bool RHS_NA, typename RHS_T>
IntegerVector Rcpp::match ( const VectorBase< RTYPE, NA, T > & x,
const VectorBase< RTYPE, RHS_NA, RHS_T > & table_ )
inline

◆ max()

template<int RTYPE, bool NA, typename T>
sugar::Max< RTYPE, NA, T > Rcpp::max ( const VectorBase< RTYPE, NA, T > & x)

◆ mean() [1/4]

template<bool NA, typename T>
sugar::Mean< CPLXSXP, NA, T > Rcpp::mean ( const VectorBase< CPLXSXP, NA, T > & t)
inline

Definition at line 148 of file mean.h.

◆ mean() [2/4]

template<bool NA, typename T>
sugar::Mean< INTSXP, NA, T > Rcpp::mean ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 143 of file mean.h.

◆ mean() [3/4]

template<bool NA, typename T>
sugar::Mean< LGLSXP, NA, T > Rcpp::mean ( const VectorBase< LGLSXP, NA, T > & t)
inline

Definition at line 153 of file mean.h.

◆ mean() [4/4]

template<bool NA, typename T>
sugar::Mean< REALSXP, NA, T > Rcpp::mean ( const VectorBase< REALSXP, NA, T > & t)
inline

◆ median()

template<int RTYPE, bool NA, typename T>
sugar::median_detail::result< RTYPE >::type Rcpp::median ( const Rcpp::VectorBase< RTYPE, NA, T > & x,
bool na_rm = false )
inline

Definition at line 283 of file median.h.

◆ message()

◆ min()

◆ mktime00()

double Rcpp::mktime00 ( struct tm & tm)
inline

Definition at line 130 of file routines.h.

References GET_CALLABLE, and tm.

Referenced by Rcpp::Date::Date(), and registerFunctions().

◆ na_omit()

template<int RTYPE, bool NA, typename T>
Vector< RTYPE > Rcpp::na_omit ( const VectorBase< RTYPE, NA, T > & t)
inline

◆ Named() [1/2]

Argument Rcpp::Named ( const std::string & name)
inline

◆ Named() [2/2]

template<typename T>
traits::named_object< T > Rcpp::Named ( const std::string & name,
const T & o )
inline

Definition at line 44 of file Named.h.

◆ namespace_env()

Environment_Impl Rcpp::namespace_env ( const std::string & package)
static
Parameters
namethe name of the package of which we want the namespace
Returns
the namespace of the package
Exceptions
no_such_namespace

Definition at line 342 of file Environment.h.

References Environment_Impl(), and Rcpp_fast_eval().

Here is the call graph for this function:

◆ new_child()

Environment_Impl Rcpp::new_child ( bool hashed) const

creates a new environment whose this is the parent

Definition at line 369 of file Environment.h.

References Environment_Impl(), and Rcpp_fast_eval().

Here is the call graph for this function:

◆ new_env() [1/2]

Environment Rcpp::new_env ( int size = 29)
inline

Definition at line 47 of file Environment.h.

References _.

◆ new_env() [2/2]

Environment Rcpp::new_env ( SEXP parent,
int size = 29 )
inline

Definition at line 52 of file Environment.h.

References _, and parent().

Here is the call graph for this function:

◆ no_init() [1/2]

no_init_matrix Rcpp::no_init ( int nr,
int nc )
inline

Definition at line 81 of file no_init.h.

◆ no_init() [2/2]

◆ noNA() [1/3]

template<int RTYPE, bool NA, typename VECTOR>
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().

◆ noNA() [2/3]

sugar::NonaPrimitive< double > Rcpp::noNA ( double x)
inline

Definition at line 78 of file nona.h.

◆ noNA() [3/3]

sugar::NonaPrimitive< int > Rcpp::noNA ( int x)
inline

Definition at line 81 of file nona.h.

◆ operator SEXP()

Rcpp::operator SEXP ( ) const
inline

Definition at line 53 of file StretchyList.h.

◆ operator!=() [1/4]

bool Rcpp::operator!= ( const Date & d1,
const Date & d2 )
inline

Definition at line 170 of file Date.h.

◆ operator!=() [2/4]

bool Rcpp::operator!= ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 163 of file Datetime.h.

◆ operator!=() [3/4]

bool Rcpp::operator!= ( const String::const_StringProxy & lhs,
const String & rhs )
inline

Definition at line 729 of file String.h.

◆ operator!=() [4/4]

bool Rcpp::operator!= ( const String::StringProxy & lhs,
const String & rhs )
inline

Definition at line 721 of file String.h.

◆ operator*() [1/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type Rcpp::operator* ( const typename sugar::NonaPrimitive< U > & rhs,
const VectorBase< RTYPE, NA, T > & lhs )
inline

Definition at line 460 of file times.h.

◆ operator*() [2/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator* ( const U & rhs,
const VectorBase< RTYPE, NA, T > & lhs )
inline

Definition at line 440 of file times.h.

◆ operator*() [3/5]

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Times_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator* ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 474 of file times.h.

◆ operator*() [4/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type Rcpp::operator* ( const VectorBase< RTYPE, NA, T > & lhs,
const typename sugar::NonaPrimitive< U > & rhs )
inline

Definition at line 451 of file times.h.

◆ operator*() [5/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator* ( const VectorBase< RTYPE, NA, T > & lhs,
const U & rhs )
inline

Definition at line 430 of file times.h.

◆ operator+() [1/8]

Date Rcpp::operator+ ( const Date & date,
int offset )
inline

Definition at line 156 of file Date.h.

◆ operator+() [2/8]

Datetime Rcpp::operator+ ( const Datetime & datetime,
double offset )
inline

Definition at line 137 of file Datetime.h.

◆ operator+() [3/8]

Datetime Rcpp::operator+ ( const Datetime & datetime,
int offset )
inline

Definition at line 147 of file Datetime.h.

◆ operator+() [4/8]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type Rcpp::operator+ ( const typename sugar::NonaPrimitive< U > & rhs,
const VectorBase< RTYPE, NA, T > & lhs )
inline

Definition at line 478 of file plus.h.

◆ operator+() [5/8]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, typenamesugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator+ ( const U & rhs,
const VectorBase< RTYPE, NA, T > & lhs )
inline

Definition at line 458 of file plus.h.

◆ operator+() [6/8]

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Plus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator+ ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 492 of file plus.h.

◆ operator+() [7/8]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type Rcpp::operator+ ( const VectorBase< RTYPE, NA, T > & lhs,
const typename sugar::NonaPrimitive< U > & rhs )
inline

Definition at line 469 of file plus.h.

◆ operator+() [8/8]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, typenamesugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator+ ( const VectorBase< RTYPE, NA, T > & lhs,
const U & rhs )
inline

Definition at line 448 of file plus.h.

◆ operator-() [1/5]

double Rcpp::operator- ( const Date & d1,
const Date & d2 )
inline

Definition at line 164 of file Date.h.

◆ operator-() [2/5]

double Rcpp::operator- ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 157 of file Datetime.h.

◆ operator-() [3/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Minus_Primitive_Vector< RTYPE, NA, T > >::type Rcpp::operator- ( const U & lhs,
const VectorBase< RTYPE, NA, T > & rhs )
inline

Definition at line 428 of file minus.h.

◆ operator-() [4/5]

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator- ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 441 of file minus.h.

◆ operator-() [5/5]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Minus_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator- ( const VectorBase< RTYPE, NA, T > & lhs,
const U & rhs )
inline

Definition at line 418 of file minus.h.

◆ operator/() [1/3]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Divides_Primitive_Vector< RTYPE, NA, T > >::type Rcpp::operator/ ( const U & lhs,
const VectorBase< RTYPE, NA, T > & rhs )
inline

Definition at line 423 of file divides.h.

◆ operator/() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
sugar::Divides_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator/ ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 436 of file divides.h.

◆ operator/() [3/3]

template<int RTYPE, bool NA, typename T, typename U>
traits::enable_if< traits::is_convertible< typenametraits::remove_const_and_reference< U >::type, typenametraits::storage_type< RTYPE >::type >::value, sugar::Divides_Vector_Primitive< RTYPE, NA, T > >::type Rcpp::operator/ ( const VectorBase< RTYPE, NA, T > & lhs,
const U & rhs )
inline

Definition at line 413 of file divides.h.

◆ operator<() [1/2]

bool Rcpp::operator< ( const Date & d1,
const Date & d2 )
inline

Definition at line 165 of file Date.h.

◆ operator<() [2/2]

bool Rcpp::operator< ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 158 of file Datetime.h.

◆ operator<<() [1/10]

std::ostream & Rcpp::operator<< ( std::ostream & os,
const Date d )
inline

Definition at line 172 of file Date.h.

◆ operator<<() [2/10]

std::ostream & Rcpp::operator<< ( std::ostream & os,
const Datetime d )
inline

Definition at line 165 of file Datetime.h.

◆ operator<<() [3/10]

std::ostream & Rcpp::operator<< ( std::ostream & os,
const newDatetimeVector d )
inline

Definition at line 85 of file newDatetimeVector.h.

◆ operator<<() [4/10]

std::ostream & Rcpp::operator<< ( std::ostream & os,
const newDateVector d )
inline

Definition at line 69 of file newDateVector.h.

◆ operator<<() [5/10]

template<template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Matrix< INTSXP, StoragePolicy > & rhs )
inline

Definition at line 286 of file Matrix.h.

References max(), min(), row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [6/10]

template<template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Matrix< REALSXP, StoragePolicy > & rhs )
inline

Definition at line 218 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [7/10]

template<int RTYPE, template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Matrix< RTYPE, StoragePolicy > & rhs )
inline

Definition at line 379 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [8/10]

template<template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Matrix< STRSXP, StoragePolicy > & rhs )
inline

Definition at line 352 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [9/10]

template<int RTYPE, template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Vector< RTYPE, StoragePolicy > & rhs )
inline

Definition at line 1202 of file Vector.h.

◆ operator<<() [10/10]

template<template< class > class StoragePolicy>
std::ostream & Rcpp::operator<< ( std::ostream & s,
const Vector< STRSXP, StoragePolicy > & rhs )
inline

Definition at line 1221 of file Vector.h.

◆ operator<=() [1/2]

bool Rcpp::operator<= ( const Date & d1,
const Date & d2 )
inline

Definition at line 169 of file Date.h.

◆ operator<=() [2/2]

bool Rcpp::operator<= ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 162 of file Datetime.h.

◆ operator==() [1/4]

bool Rcpp::operator== ( const Date & d1,
const Date & d2 )
inline

Definition at line 167 of file Date.h.

Referenced by RCPP_API_CLASS().

◆ operator==() [2/4]

bool Rcpp::operator== ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 160 of file Datetime.h.

◆ operator==() [3/4]

bool Rcpp::operator== ( const String::const_StringProxy & lhs,
const String & rhs )
inline

Definition at line 725 of file String.h.

◆ operator==() [4/4]

bool Rcpp::operator== ( const String::StringProxy & lhs,
const String & rhs )
inline

Definition at line 717 of file String.h.

◆ operator>() [1/2]

bool Rcpp::operator> ( const Date & d1,
const Date & d2 )
inline

Definition at line 166 of file Date.h.

◆ operator>() [2/2]

bool Rcpp::operator> ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 159 of file Datetime.h.

◆ operator>=() [1/2]

bool Rcpp::operator>= ( const Date & d1,
const Date & d2 )
inline

Definition at line 168 of file Date.h.

◆ operator>=() [2/2]

bool Rcpp::operator>= ( const Datetime & d1,
const Datetime & d2 )
inline

Definition at line 161 of file Datetime.h.

◆ outer()

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 > Rcpp::outer ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & rhs,
Function fun )
inline

Definition at line 81 of file outer.h.

◆ pairlist() [1/3]

SEXP Rcpp::pairlist ( )
inline

◆ pairlist() [2/3]

template<typename T, typename... TArgs>
SEXP Rcpp::pairlist ( const T & t1,
const TArgs &... args )

Definition at line 79 of file grow.h.

References grow(), and pairlist().

Here is the call graph for this function:

◆ pairlist() [3/3]

template<typename T1>
SEXP Rcpp::pairlist ( const T1 & t1)

Definition at line 74 of file grow.h.

References grow().

Here is the call graph for this function:

◆ Pairlist_Impl() [1/3]

Rcpp::Pairlist_Impl ( )

Definition at line 41 of file Pairlist.h.

◆ Pairlist_Impl() [2/3]

template<typename... T>
Rcpp::Pairlist_Impl ( const T &... args)

Definition at line 46 of file Pairlist.h.

References pairlist().

Here is the call graph for this function:

◆ Pairlist_Impl() [3/3]

Rcpp::Pairlist_Impl ( SEXP x)

Definition at line 42 of file Pairlist.h.

References r_cast().

Here is the call graph for this function:

◆ parent()

Environment_Impl Rcpp::parent ( ) const

The parent environment of this environment

Definition at line 358 of file Environment.h.

References Environment_Impl().

Referenced by Rcpp::ConstMatrixColumn< RTYPE >::ConstMatrixColumn(), Rcpp::MatrixColumn< RTYPE >::MatrixColumn(), Rcpp::MatrixColumn< RTYPE >::MatrixColumn(), and new_env().

Here is the call graph for this function:

◆ pexp()

template<bool NA, typename T>
stats::P1< REALSXP, NA, T > Rcpp::pexp ( const Rcpp::VectorBase< REALSXP, NA, T > & x,
double shape,
bool lower = true,
bool log = false )
inline

Definition at line 86 of file exp.h.

◆ pmax() [1/3]

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 > Rcpp::pmax ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 158 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmax() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T>
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

Definition at line 170 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmax() [3/3]

template<int RTYPE, bool RHS_NA, typename RHS_T>
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

Definition at line 183 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [1/3]

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 > Rcpp::pmin ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 156 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T>
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

Definition at line 168 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [3/3]

template<int RTYPE, bool RHS_NA, typename RHS_T>
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

Definition at line 181 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pow()

template<int RTYPE, bool NA, typename T, typename EXPONENT_TYPE>
sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE > Rcpp::pow ( const VectorBase< RTYPE, NA, T > & t,
EXPONENT_TYPE exponent )
inline

◆ print()

void Rcpp::print ( SEXP s)
inline

Definition at line 24 of file print.h.

◆ push_back()

template<typename T>
StretchyList_Impl & Rcpp::push_back ( const T & obj)
inline

Definition at line 58 of file StretchyList.h.

References push_back__impl(), and StretchyList_Impl().

Here is the call graph for this function:

◆ push_back__impl() [1/2]

template<typename T>
StretchyList_Impl & Rcpp::push_back__impl ( const T & obj,
traits::false_type  )
private

References StretchyList_Impl().

Here is the call graph for this function:

◆ push_back__impl() [2/2]

template<typename T>
StretchyList_Impl & Rcpp::push_back__impl ( const T & obj,
traits::true_type  )
private

References StretchyList_Impl().

Referenced by push_back().

Here is the call graph for this function:

◆ push_front()

template<typename T>
StretchyList_Impl & Rcpp::push_front ( const T & obj)
inline

Definition at line 63 of file StretchyList.h.

References push_front__impl(), and StretchyList_Impl().

Referenced by Rcpp::DottedPairImpl< CLASS >::insert().

Here is the call graph for this function:

◆ push_front__impl() [1/2]

template<typename T>
StretchyList_Impl & Rcpp::push_front__impl ( const T & obj,
traits::false_type  )
private

References StretchyList_Impl().

Here is the call graph for this function:

◆ push_front__impl() [2/2]

template<typename T>
StretchyList_Impl & Rcpp::push_front__impl ( const T & obj,
traits::true_type  )
private

References StretchyList_Impl().

Referenced by push_front().

Here is the call graph for this function:

◆ qexp()

template<bool NA, typename T>
stats::Q1< REALSXP, NA, T > Rcpp::qexp ( const Rcpp::VectorBase< REALSXP, NA, T > & x,
double shape,
bool lower = true,
bool log = false )
inline

Definition at line 91 of file exp.h.

◆ r_cast()

◆ range()

template<int RTYPE, bool NA, typename T>
sugar::Range< RTYPE, NA, T > Rcpp::range ( const VectorBase< RTYPE, NA, T > & x)

Definition at line 86 of file range.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Referenced by Rcpp::Vector< VECSXP, StoragePolicy >::operator[]().

Here is the call graph for this function:

◆ rbeta()

NumericVector Rcpp::rbeta ( int n,
double a,
double b )
inline

Definition at line 100 of file random.h.

◆ rbinom()

NumericVector Rcpp::rbinom ( int n,
double nin,
double pp )
inline

Definition at line 104 of file random.h.

◆ rcauchy() [1/3]

NumericVector Rcpp::rcauchy ( int n)
inline

Definition at line 128 of file random.h.

◆ rcauchy() [2/3]

NumericVector Rcpp::rcauchy ( int n,
double location )
inline

Definition at line 118 of file random.h.

◆ rcauchy() [3/3]

NumericVector Rcpp::rcauchy ( int n,
double location,
double scale )
inline

Definition at line 108 of file random.h.

◆ rchisq()

NumericVector Rcpp::rchisq ( int n,
double df )
inline

Definition at line 132 of file random.h.

◆ RCPP_API_CLASS() [1/14]

Rcpp::RCPP_API_CLASS ( DottedPair_Impl )

◆ RCPP_API_CLASS() [2/14]

Rcpp::RCPP_API_CLASS ( Environment_Impl )

◆ RCPP_API_CLASS() [3/14]

Rcpp::RCPP_API_CLASS ( Formula_Impl )

◆ RCPP_API_CLASS() [4/14]

Rcpp::RCPP_API_CLASS ( Function_Impl )

functions

Finds a function. By default, searches from the global environment

Parameters
namename of the function
envan environment where to search the function
nsname of the namespace in which to search the function

Returns the environment of this function

Returns the body of the function

Definition at line 34 of file Function.h.

References pairlist(), Rcpp_fast_eval(), RCPP_GENERATE_CTOR_ASSIGN, Rcpp_lcons, stop(), and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [5/14]

Rcpp::RCPP_API_CLASS ( InternalFunction_Impl )

Definition at line 33 of file InternalFunction.h.

References RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [6/14]

Rcpp::RCPP_API_CLASS ( Language_Impl )

C++ wrapper around calls (LANGSXP SEXP)

This represents calls that can be evaluated

◆ RCPP_API_CLASS() [7/14]

Rcpp::RCPP_API_CLASS ( Pairlist_Impl )

◆ RCPP_API_CLASS() [8/14]

Rcpp::RCPP_API_CLASS ( Promise_Impl )

Return the result of the PRSEEN macro

Return the result of the PRVALUE macro on the promise

The promise expression: PRCODE

The promise environment : PRENV

Definition at line 28 of file Promise.h.

References RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [9/14]

Rcpp::RCPP_API_CLASS ( Reference_Impl )

S4 object (of a reference class)

◆ RCPP_API_CLASS() [10/14]

Rcpp::RCPP_API_CLASS ( RObject_Impl )

default constructor. uses R_NilValue

wraps a SEXP. The SEXP is automatically protected from garbage collection by this object and the protection vanishes when this object is destroyed

Assignement operator. Set this SEXP to the given SEXP

Definition at line 27 of file RObject.h.

References RCPP_GENERATE_CTOR_ASSIGN, update(), and wrap().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [11/14]

Rcpp::RCPP_API_CLASS ( S4_Impl )

S4 object

checks that x is an S4 object and wrap it.

Parameters
xmust be an S4 object

Creates an S4 object of the requested class.

Parameters
klassname of the target S4 class
Exceptions
S4_creation_errorif klass does not map to a known S4 class

Indicates if this object is an instance of the given S4 class

Exceptions
not_s4if x is not an S4 class

Definition at line 29 of file S4.h.

References is(), RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [12/14]

Rcpp::RCPP_API_CLASS ( StretchyList_Impl )

StretchyList uses a special pairlist to provide efficient insertion at the front and the end of a pairlist.

This is a C++ abstraction of the functions NewList, GrowList and Insert that are found in places where a pair list has to grow efficiently, e.g. in the R parser (gram.y)

◆ RCPP_API_CLASS() [13/14]

Rcpp::RCPP_API_CLASS ( Symbol_Impl )

wraps the SEXP into a Symbol object.

Parameters
xAccepted SEXP types are SYMSXP, CHARSXP and STRSXP in the last case, the first element of the character vector is silently used

Definition at line 27 of file Symbol.h.

References operator==(), RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [14/14]

Rcpp::RCPP_API_CLASS ( WeakReference_Impl )

wraps a weak reference

Parameters
xpresumably a SEXP of SEXTYPE WEAKREFSXP
Exceptions
not_compatibleif x is not a weak reference

Retrieve the key

Retrieve the value

Definition at line 27 of file WeakReference.h.

References RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ Rcpp_cerr_get()

Rostream< false > & Rcpp::Rcpp_cerr_get ( )
inline

Definition at line 168 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ Rcpp_cout_get()

Rostream< true > & Rcpp::Rcpp_cout_get ( )
inline

Definition at line 163 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ Rcpp_eval()

SEXP Rcpp::Rcpp_eval ( SEXP expr,
SEXP env )
inline

Definition at line 54 of file Rcpp_eval.h.

References Rcpp::internal::Rcpp_eval_impl().

Referenced by Rcpp::Vector< VECSXP, StoragePolicy >::eval(), and Rcpp::Vector< VECSXP, StoragePolicy >::eval().

Here is the call graph for this function:

◆ Rcpp_fast_eval()

◆ Rcpp_lang10()

SEXP Rcpp::Rcpp_lang10 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9 )
inline

Definition at line 127 of file lang.h.

References Rcpp_list9().

Here is the call graph for this function:

◆ Rcpp_lang11()

SEXP Rcpp::Rcpp_lang11 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10 )
inline

Definition at line 143 of file lang.h.

References Rcpp_list10().

Here is the call graph for this function:

◆ Rcpp_lang12()

SEXP Rcpp::Rcpp_lang12 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11 )
inline

Definition at line 159 of file lang.h.

References Rcpp_list11().

Here is the call graph for this function:

◆ Rcpp_lang13()

SEXP Rcpp::Rcpp_lang13 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12 )
inline

Definition at line 175 of file lang.h.

References Rcpp_list12().

Here is the call graph for this function:

◆ Rcpp_lang14()

SEXP Rcpp::Rcpp_lang14 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13 )
inline

Definition at line 191 of file lang.h.

References Rcpp_list13().

Here is the call graph for this function:

◆ Rcpp_lang15()

SEXP Rcpp::Rcpp_lang15 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14 )
inline

Definition at line 207 of file lang.h.

References Rcpp_list14().

Here is the call graph for this function:

◆ Rcpp_lang16()

SEXP Rcpp::Rcpp_lang16 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15 )
inline

Definition at line 223 of file lang.h.

References Rcpp_list15().

Here is the call graph for this function:

◆ Rcpp_lang17()

SEXP Rcpp::Rcpp_lang17 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16 )
inline

Definition at line 239 of file lang.h.

References Rcpp_list16().

Here is the call graph for this function:

◆ Rcpp_lang18()

SEXP Rcpp::Rcpp_lang18 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17 )
inline

Definition at line 255 of file lang.h.

References Rcpp_list17().

Here is the call graph for this function:

◆ Rcpp_lang19()

SEXP Rcpp::Rcpp_lang19 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17,
SEXP x18 )
inline

Definition at line 271 of file lang.h.

References Rcpp_list18().

Here is the call graph for this function:

◆ Rcpp_lang20()

SEXP Rcpp::Rcpp_lang20 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17,
SEXP x18,
SEXP x19 )
inline

Definition at line 287 of file lang.h.

References Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_lang7()

SEXP Rcpp::Rcpp_lang7 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6 )
inline

Definition at line 79 of file lang.h.

References Rcpp_list6().

Here is the call graph for this function:

◆ Rcpp_lang8()

SEXP Rcpp::Rcpp_lang8 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7 )
inline

Definition at line 95 of file lang.h.

References Rcpp_list7().

Here is the call graph for this function:

◆ Rcpp_lang9()

SEXP Rcpp::Rcpp_lang9 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8 )
inline

Definition at line 111 of file lang.h.

References Rcpp_list8().

Here is the call graph for this function:

◆ Rcpp_list10()

SEXP Rcpp::Rcpp_list10 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9 )
inline

Definition at line 119 of file lang.h.

References Rcpp_list9().

Referenced by Rcpp_lang11(), and Rcpp_list11().

Here is the call graph for this function:

◆ Rcpp_list11()

SEXP Rcpp::Rcpp_list11 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10 )
inline

Definition at line 135 of file lang.h.

References Rcpp_list10().

Referenced by Rcpp_lang12(), and Rcpp_list12().

Here is the call graph for this function:

◆ Rcpp_list12()

SEXP Rcpp::Rcpp_list12 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11 )
inline

Definition at line 151 of file lang.h.

References Rcpp_list11().

Referenced by Rcpp_lang13(), and Rcpp_list13().

Here is the call graph for this function:

◆ Rcpp_list13()

SEXP Rcpp::Rcpp_list13 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12 )
inline

Definition at line 167 of file lang.h.

References Rcpp_list12().

Referenced by Rcpp_lang14(), and Rcpp_list14().

Here is the call graph for this function:

◆ Rcpp_list14()

SEXP Rcpp::Rcpp_list14 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13 )
inline

Definition at line 183 of file lang.h.

References Rcpp_list13().

Referenced by Rcpp_lang15(), and Rcpp_list15().

Here is the call graph for this function:

◆ Rcpp_list15()

SEXP Rcpp::Rcpp_list15 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14 )
inline

Definition at line 199 of file lang.h.

References Rcpp_list14().

Referenced by Rcpp_lang16(), and Rcpp_list16().

Here is the call graph for this function:

◆ Rcpp_list16()

SEXP Rcpp::Rcpp_list16 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15 )
inline

Definition at line 215 of file lang.h.

References Rcpp_list15().

Referenced by Rcpp_lang17(), and Rcpp_list17().

Here is the call graph for this function:

◆ Rcpp_list17()

SEXP Rcpp::Rcpp_list17 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16 )
inline

Definition at line 231 of file lang.h.

References Rcpp_list16().

Referenced by Rcpp_lang18(), and Rcpp_list18().

Here is the call graph for this function:

◆ Rcpp_list18()

SEXP Rcpp::Rcpp_list18 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17 )
inline

Definition at line 247 of file lang.h.

References Rcpp_list17().

Referenced by Rcpp_lang19(), and Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_list19()

SEXP Rcpp::Rcpp_list19 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17,
SEXP x18 )
inline

Definition at line 263 of file lang.h.

References Rcpp_list18().

Referenced by Rcpp_lang20(), and Rcpp_list20().

Here is the call graph for this function:

◆ Rcpp_list2()

SEXP Rcpp::Rcpp_list2 ( SEXP x0,
SEXP x1 )
inline

Definition at line 36 of file lang.h.

References Rcpp_list1.

Referenced by Rcpp_list3().

◆ Rcpp_list20()

SEXP Rcpp::Rcpp_list20 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8,
SEXP x9,
SEXP x10,
SEXP x11,
SEXP x12,
SEXP x13,
SEXP x14,
SEXP x15,
SEXP x16,
SEXP x17,
SEXP x18,
SEXP x19 )
inline

Definition at line 279 of file lang.h.

References Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_list3()

SEXP Rcpp::Rcpp_list3 ( SEXP x0,
SEXP x1,
SEXP x2 )
inline

Definition at line 43 of file lang.h.

References Rcpp_list2().

Referenced by Rcpp_list4().

Here is the call graph for this function:

◆ Rcpp_list4()

SEXP Rcpp::Rcpp_list4 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3 )
inline

Definition at line 50 of file lang.h.

References Rcpp_list3().

Referenced by Rcpp_list5().

Here is the call graph for this function:

◆ Rcpp_list5()

SEXP Rcpp::Rcpp_list5 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4 )
inline

Definition at line 57 of file lang.h.

References Rcpp_list4().

Referenced by Rcpp_list6().

Here is the call graph for this function:

◆ Rcpp_list6()

SEXP Rcpp::Rcpp_list6 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5 )
inline

Definition at line 64 of file lang.h.

References Rcpp_list5().

Referenced by Rcpp_lang7(), and Rcpp_list7().

Here is the call graph for this function:

◆ Rcpp_list7()

SEXP Rcpp::Rcpp_list7 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6 )
inline

Definition at line 71 of file lang.h.

References Rcpp_list6().

Referenced by Rcpp_lang8(), and Rcpp_list8().

Here is the call graph for this function:

◆ Rcpp_list8()

SEXP Rcpp::Rcpp_list8 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7 )
inline

Definition at line 87 of file lang.h.

References Rcpp_list7().

Referenced by Rcpp_lang9(), and Rcpp_list9().

Here is the call graph for this function:

◆ Rcpp_list9()

SEXP Rcpp::Rcpp_list9 ( SEXP x0,
SEXP x1,
SEXP x2,
SEXP x3,
SEXP x4,
SEXP x5,
SEXP x6,
SEXP x7,
SEXP x8 )
inline

Definition at line 103 of file lang.h.

References Rcpp_list8().

Referenced by Rcpp_lang10(), and Rcpp_list10().

Here is the call graph for this function:

◆ Rcpp_namespace()

Environment_Impl Rcpp::Rcpp_namespace ( )
static
Returns
the Rcpp namespace

Definition at line 331 of file Environment.h.

References Environment_Impl(), and Rcpp::internal::get_Rcpp_namespace().

Here is the call graph for this function:

◆ Rcpp_precious_init()

void Rcpp::Rcpp_precious_init ( )
inline

Definition at line 142 of file routines.h.

References GET_CALLABLE.

Referenced by R_init_Rcpp(), and registerFunctions().

◆ Rcpp_precious_preserve()

SEXP Rcpp::Rcpp_precious_preserve ( SEXP object)
inline

Definition at line 152 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp_PreciousPreserve(), and registerFunctions().

◆ Rcpp_precious_remove()

void Rcpp::Rcpp_precious_remove ( SEXP token)
inline

Definition at line 157 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp_PreciousRelease(), and registerFunctions().

◆ Rcpp_precious_teardown()

void Rcpp::Rcpp_precious_teardown ( )
inline

Definition at line 147 of file routines.h.

References GET_CALLABLE.

Referenced by R_unload_Rcpp(), and registerFunctions().

◆ Rcpp_PreciousPreserve()

◆ Rcpp_PreciousRelease()

◆ Rcpp_PreserveObject()

SEXP Rcpp::Rcpp_PreserveObject ( SEXP x)
inline

Definition at line 100 of file RcppCommon.h.

Referenced by Rcpp_ReplaceObject().

◆ Rcpp_protect()

SEXP Rcpp::Rcpp_protect ( SEXP x)
inline

Definition at line 23 of file Shield.h.

Referenced by Rcpp::Shelter< T >::operator()(), and Rcpp::Shield< T >::Shield().

◆ Rcpp_ReleaseObject()

void Rcpp::Rcpp_ReleaseObject ( SEXP x)
inline

Definition at line 104 of file RcppCommon.h.

Referenced by Rcpp_ReplaceObject().

◆ Rcpp_ReplaceObject()

SEXP Rcpp::Rcpp_ReplaceObject ( SEXP x,
SEXP y )
inline

Definition at line 107 of file RcppCommon.h.

References Rcpp_PreserveObject(), and Rcpp_ReleaseObject().

Here is the call graph for this function:

◆ Rcpp_unprotect()

void Rcpp::Rcpp_unprotect ( int i)
inline

Definition at line 28 of file Shield.h.

Referenced by Rcpp::Shelter< T >::~Shelter(), and Rcpp::Shield< T >::~Shield().

◆ remove()

bool Rcpp::remove ( const std::string & name)

remove an object from this environment

Definition at line 219 of file Environment.h.

References bindingIsLocked(), exists(), and Rcpp_fast_eval().

Here is the call graph for this function:

◆ rep() [1/6]

sugar::Rep_Single< bool > Rcpp::rep ( const bool & x,
R_xlen_t n )
inline

Definition at line 85 of file rep.h.

◆ rep() [2/6]

sugar::Rep_Single< double > Rcpp::rep ( const double & x,
R_xlen_t n )
inline

Definition at line 73 of file rep.h.

◆ rep() [3/6]

sugar::Rep_Single< int > Rcpp::rep ( const int & x,
R_xlen_t n )
inline

Definition at line 76 of file rep.h.

◆ rep() [4/6]

sugar::Rep_Single< Rbyte > Rcpp::rep ( const Rbyte & x,
R_xlen_t n )
inline

Definition at line 79 of file rep.h.

◆ rep() [5/6]

sugar::Rep_Single< Rcomplex > Rcpp::rep ( const Rcomplex & x,
R_xlen_t n )
inline

Definition at line 82 of file rep.h.

◆ rep() [6/6]

template<int RTYPE, bool NA, typename T>
sugar::Rep< RTYPE, NA, T > Rcpp::rep ( const VectorBase< RTYPE, NA, T > & t,
R_xlen_t n )
inline

Definition at line 69 of file rep.h.

◆ rep_each()

template<int RTYPE, bool NA, typename T>
sugar::Rep_each< RTYPE, NA, T > Rcpp::rep_each ( const VectorBase< RTYPE, NA, T > & t,
R_xlen_t times )
inline

Definition at line 50 of file rep_each.h.

◆ rep_len()

template<int RTYPE, bool NA, typename T>
sugar::Rep_len< RTYPE, NA, T > Rcpp::rep_len ( const VectorBase< RTYPE, NA, T > & t,
R_xlen_t len )
inline

Definition at line 50 of file rep_len.h.

◆ rev()

template<int RTYPE, bool NA, typename T>
sugar::Rev< RTYPE, NA, T > Rcpp::rev ( const VectorBase< RTYPE, NA, T > & t)
inline

Definition at line 50 of file rev.h.

◆ rexp() [1/2]

NumericVector Rcpp::rexp ( int n)
inline

Definition at line 147 of file random.h.

◆ rexp() [2/2]

NumericVector Rcpp::rexp ( int n,
double rate )
inline

Definition at line 137 of file random.h.

◆ rf()

NumericVector Rcpp::rf ( int n,
double n1,
double n2 )
inline

Definition at line 151 of file random.h.

◆ rgamma() [1/2]

NumericVector Rcpp::rgamma ( int n,
double a )
inline

Definition at line 174 of file random.h.

◆ rgamma() [2/2]

NumericVector Rcpp::rgamma ( int n,
double a,
double scale )
inline

Definition at line 165 of file random.h.

◆ rgeom()

NumericVector Rcpp::rgeom ( int n,
double p )
inline

Definition at line 183 of file random.h.

◆ rhyper()

NumericVector Rcpp::rhyper ( int n,
double nn1,
double nn2,
double kk )
inline

Definition at line 189 of file random.h.

◆ rlnorm() [1/3]

NumericVector Rcpp::rlnorm ( int n)
inline

Definition at line 215 of file random.h.

◆ rlnorm() [2/3]

NumericVector Rcpp::rlnorm ( int n,
double meanlog )
inline

Definition at line 204 of file random.h.

◆ rlnorm() [3/3]

NumericVector Rcpp::rlnorm ( int n,
double meanlog,
double sdlog )
inline

Definition at line 193 of file random.h.

◆ rlogis() [1/3]

NumericVector Rcpp::rlogis ( int n)
inline

Definition at line 239 of file random.h.

◆ rlogis() [2/3]

NumericVector Rcpp::rlogis ( int n,
double location )
inline

Definition at line 229 of file random.h.

◆ rlogis() [3/3]

NumericVector Rcpp::rlogis ( int n,
double location,
double scale )
inline

Definition at line 219 of file random.h.

◆ rnbinom()

NumericVector Rcpp::rnbinom ( int n,
double siz,
double prob )
inline

Definition at line 243 of file random.h.

◆ rnbinom_mu()

NumericVector Rcpp::rnbinom_mu ( int n,
double siz,
double mu )
inline

Definition at line 251 of file random.h.

◆ rnchisq() [1/2]

NumericVector Rcpp::rnchisq ( int n,
double df )
inline

Definition at line 268 of file random.h.

◆ rnchisq() [2/2]

NumericVector Rcpp::rnchisq ( int n,
double df,
double lambda )
inline

Definition at line 258 of file random.h.

◆ rnorm() [1/3]

NumericVector Rcpp::rnorm ( int n)
inline

Definition at line 96 of file random.h.

◆ rnorm() [2/3]

NumericVector Rcpp::rnorm ( int n,
double mean )
inline

Definition at line 80 of file random.h.

References mean().

Here is the call graph for this function:

◆ rnorm() [3/3]

NumericVector Rcpp::rnorm ( int n,
double mean,
double sd )
inline

Definition at line 58 of file random.h.

References mean(), and sd().

Here is the call graph for this function:

◆ row()

template<int RTYPE, bool LHS_NA, typename LHS_T>
sugar::Row< RTYPE, LHS_NA, LHS_T > Rcpp::row ( const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > & lhs)
inline

Definition at line 55 of file row.h.

Referenced by operator<<(), operator<<(), operator<<(), and operator<<().

◆ rowMeans()

template<int RTYPE, bool NA, typename T>
sugar::detail::RowMeansReturn< RTYPE >::type Rcpp::rowMeans ( const MatrixBase< RTYPE, NA, T > & x,
bool na_rm = false )
inline

Definition at line 882 of file rowSums.h.

◆ rownames()

internal::DimNameProxy Rcpp::rownames ( SEXP x)
inline

Definition at line 209 of file Matrix.h.

◆ rowSums()

template<int RTYPE, bool NA, typename T>
sugar::detail::RowSumsReturn< RTYPE >::type Rcpp::rowSums ( const MatrixBase< RTYPE, NA, T > & x,
bool na_rm = false )
inline

Definition at line 864 of file rowSums.h.

◆ rpois()

NumericVector Rcpp::rpois ( int n,
double mu )
inline

Definition at line 274 of file random.h.

◆ rsignrank()

NumericVector Rcpp::rsignrank ( int n,
double nn )
inline

Definition at line 278 of file random.h.

◆ rt()

NumericVector Rcpp::rt ( int n,
double df )
inline

Definition at line 282 of file random.h.

◆ runif() [1/3]

NumericVector Rcpp::runif ( int n)
inline

Definition at line 307 of file random.h.

◆ runif() [2/3]

NumericVector Rcpp::runif ( int n,
double min )
inline

Definition at line 301 of file random.h.

References min().

Here is the call graph for this function:

◆ runif() [3/3]

NumericVector Rcpp::runif ( int n,
double min,
double max )
inline

Definition at line 295 of file random.h.

References max(), and min().

Referenced by piSugar().

Here is the call graph for this function:

◆ rweibull() [1/2]

NumericVector Rcpp::rweibull ( int n,
double shape )
inline

Definition at line 320 of file random.h.

◆ rweibull() [2/2]

NumericVector Rcpp::rweibull ( int n,
double shape,
double scale )
inline

Definition at line 311 of file random.h.

◆ rwilcox()

NumericVector Rcpp::rwilcox ( int n,
double mm,
double nn )
inline

Definition at line 327 of file random.h.

◆ sample() [1/2]

template<int RTYPE>
Vector< RTYPE > Rcpp::sample ( const Vector< RTYPE > & x,
int size,
bool replace = false,
sugar::probs_t probs = R_NilValue )
inline

◆ sample() [2/2]

Vector< INTSXP > Rcpp::sample ( int n,
int size,
bool replace = false,
sugar::probs_t probs = R_NilValue,
bool one_based = true )
inline

◆ sapply() [1/2]

template<typename T, typename Function>
T Rcpp::sapply ( const ListOf< T > & t,
Function fun )

Definition at line 135 of file ListOf.h.

References Rcpp::ListOf< T >::get(), and sapply().

Here is the call graph for this function:

◆ sapply() [2/2]

template<int RTYPE, bool NA, typename T, typename Function>
sugar::Sapply< RTYPE, NA, T, Function, traits::same_type< typename ::Rcpp::traits::result_of< Function, T >::type, typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::traits::result_of< Function, T >::type >::rtype >::type >::value > Rcpp::sapply ( const Rcpp::VectorBase< RTYPE, NA, T > & t,
Function fun )
inline

Definition at line 109 of file sapply.h.

References NA.

Referenced by sapply().

◆ sd()

template<bool NA, typename T>
sugar::Sd< REALSXP, NA, T > Rcpp::sd ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 46 of file sd.h.

Referenced by rnorm().

◆ self_match()

template<int RTYPE, bool NA, typename T>
IntegerVector Rcpp::self_match ( const VectorBase< RTYPE, NA, T > & x)
inline

Definition at line 70 of file self_match.h.

References Rcpp::sugar::SelfHash< RTYPE >::fill_and_self_match().

Here is the call graph for this function:

◆ seq()

Range Rcpp::seq ( R_xlen_t start,
R_xlen_t end )
inline

Definition at line 52 of file seq_along.h.

◆ seq_along()

template<int RTYPE, bool NA, typename T>
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().

Here is the call graph for this function:

◆ seq_len()

sugar::SeqLen Rcpp::seq_len ( const size_t & n)
inline

Definition at line 48 of file seq_along.h.

◆ setdiff()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > Rcpp::setdiff ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 162 of file setdiff.h.

References Rcpp::sugar::SetDiff< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ setequal()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
bool Rcpp::setequal ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 167 of file setdiff.h.

References Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ setFunction()

void Rcpp::setFunction ( const Function & function)

sets the function

Definition at line 134 of file Language.h.

References function().

Here is the call graph for this function:

◆ setSymbol() [1/2]

void Rcpp::setSymbol ( const std::string & symbol)

sets the symbol of the call

Definition at line 118 of file Language.h.

References setSymbol().

Referenced by setSymbol().

Here is the call graph for this function:

◆ setSymbol() [2/2]

void Rcpp::setSymbol ( const Symbol & symbol)

sets the symbol of the call

Definition at line 125 of file Language.h.

◆ shush_about_NA()

LogicalVector Rcpp::shush_about_NA ( )
inline

Definition at line 54 of file Na_Proxy.h.

References _, Rcpp::Vector< LGLSXP >::create(), and NA.

Here is the call graph for this function:

◆ sign() [1/2]

template<bool NA, typename T>
sugar::Sign< INTSXP, NA, T > Rcpp::sign ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 70 of file sign.h.

Referenced by Rcpp::Module::get_function().

◆ sign() [2/2]

template<bool NA, typename T>
sugar::Sign< REALSXP, NA, T > Rcpp::sign ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 75 of file sign.h.

◆ signature()

◆ sort_unique()

template<int RTYPE, bool NA, typename T>
Vector< RTYPE > Rcpp::sort_unique ( const VectorBase< RTYPE, NA, T > & t,
bool decreasing = false )
inline

Definition at line 72 of file unique.h.

References Rcpp::Vector< RTYPE, StoragePolicy >::sort(), and unique().

Here is the call graph for this function:

◆ sprintf()

template<int MAX_SIZE>
std::string Rcpp::sprintf ( const char * format,
... )

Definition at line 28 of file sprintf.h.

◆ standard_delete_finalizer()

template<typename T>
void Rcpp::standard_delete_finalizer ( T * obj)

Definition at line 30 of file XPtr.h.

◆ stop() [1/2]

template<typename... Args>
void NORET Rcpp::stop ( const char * fmt,
Args &&... args )
inline

Definition at line 204 of file exceptions.h.

References tinyformat::format(), and NORET.

Here is the call graph for this function:

◆ stop() [2/2]

◆ StretchyList_Impl() [1/2]

Rcpp::StretchyList_Impl ( )

◆ StretchyList_Impl() [2/2]

Rcpp::StretchyList_Impl ( SEXP x)

Definition at line 47 of file StretchyList.h.

References r_cast().

Here is the call graph for this function:

◆ sum() [1/3]

template<bool NA, typename T>
sugar::Sum< INTSXP, NA, T > Rcpp::sum ( const VectorBase< INTSXP, NA, T > & t)
inline

◆ sum() [2/3]

template<bool NA, typename T>
sugar::Sum< LGLSXP, NA, T > Rcpp::sum ( const VectorBase< LGLSXP, NA, T > & t)
inline

Definition at line 109 of file sum.h.

◆ sum() [3/3]

template<bool NA, typename T>
sugar::Sum< REALSXP, NA, T > Rcpp::sum ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 104 of file sum.h.

◆ table()

◆ tail()

template<int RTYPE, bool NA, typename T>
sugar::Tail< RTYPE, NA, T > Rcpp::tail ( const VectorBase< RTYPE, NA, T > & t,
R_xlen_t n )
inline

◆ timesub()

struct tm * Rcpp::timesub ( const time_t * timep,
int_fast32_t offset,
const struct state * sp,
struct tm * tmp )
static

◆ toString()

std::string Rcpp::toString ( const int i)
static

Definition at line 66 of file exceptions.h.

◆ tranpose_impl()

template<int RTYPE, template< class > class StoragePolicy>
Matrix< RTYPE, StoragePolicy > Rcpp::tranpose_impl ( const Matrix< RTYPE, StoragePolicy > & x)

Definition at line 406 of file Matrix.h.

Referenced by transpose(), transpose(), and transpose().

◆ transpose() [1/3]

template<template< class > class StoragePolicy>
Matrix< INTSXP, StoragePolicy > Rcpp::transpose ( const Matrix< INTSXP, StoragePolicy > & x)

Definition at line 440 of file Matrix.h.

References tranpose_impl().

Here is the call graph for this function:

◆ transpose() [2/3]

template<template< class > class StoragePolicy>
Matrix< REALSXP, StoragePolicy > Rcpp::transpose ( const Matrix< REALSXP, StoragePolicy > & x)

Definition at line 435 of file Matrix.h.

References tranpose_impl().

Here is the call graph for this function:

◆ transpose() [3/3]

template<template< class > class StoragePolicy>
Matrix< STRSXP, StoragePolicy > Rcpp::transpose ( const Matrix< STRSXP, StoragePolicy > & x)

Definition at line 445 of file Matrix.h.

References tranpose_impl().

Here is the call graph for this function:

◆ transtime()

int_fast32_t Rcpp::transtime ( int year,
const struct rule * rulep,
int_fast32_t offset )
static

◆ trimws() [1/3]

Matrix< STRSXP > Rcpp::trimws ( const Matrix< STRSXP > & x,
const char * which = "both" )
inline

◆ trimws() [2/3]

String Rcpp::trimws ( const String & str,
const char * which = "both" )
inline

◆ trimws() [3/3]

Vector< STRSXP > Rcpp::trimws ( const Vector< STRSXP > & x,
const char * which = "both" )
inline

◆ type2name()

const char * Rcpp::type2name ( SEXP x)
inline

Definition at line 84 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ typesequiv()

int Rcpp::typesequiv ( const struct state * sp,
int a,
int b )
static

◆ tzload()

◆ tzparse()

◆ union_()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Vector< RTYPE > Rcpp::union_ ( const VectorBase< RTYPE, LHS_NA, LHS_T > & lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > & rhs )
inline

Definition at line 178 of file setdiff.h.

References Rcpp::sugar::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ unique()

template<int RTYPE, bool NA, typename T>
Vector< RTYPE > Rcpp::unique ( const VectorBase< RTYPE, NA, T > & t)
inline

Definition at line 65 of file unique.h.

References Rcpp::sugar::IndexHash< RTYPE >::fill(), and Rcpp::sugar::IndexHash< RTYPE >::keys().

Referenced by sort_unique().

Here is the call graph for this function:

◆ unlockBinding()

void Rcpp::unlockBinding ( const std::string & name)

unlocks the given binding see ?bindingIsLocked

Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 265 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ unwindProtect() [1/2]

SEXP Rcpp::unwindProtect ( SEXP(* callback )(void *data),
void * data )
inline

Definition at line 54 of file unwindProtect.h.

References Rcpp::internal::UnwindData::jmpbuf, and Rcpp::internal::maybeJump().

Referenced by Rcpp_fast_eval(), and unwindProtect().

Here is the call graph for this function:

◆ unwindProtect() [2/2]

SEXP Rcpp::unwindProtect ( std::function< SEXP(void)> callback)
inline

Definition at line 73 of file unwindProtect.h.

References unwindProtect(), and Rcpp::internal::unwindProtectUnwrap().

Here is the call graph for this function:

◆ update()

void Rcpp::update ( SEXP x)

◆ upper_tri()

template<int RTYPE, bool NA, typename T>
sugar::UpperTri< RTYPE, NA, T > Rcpp::upper_tri ( const Rcpp::MatrixBase< RTYPE, NA, T > & lhs,
bool diag = false )
inline

Definition at line 63 of file upper_tri.h.

References diag().

Here is the call graph for this function:

◆ var() [1/4]

template<bool NA, typename T>
sugar::Var< CPLXSXP, NA, T > Rcpp::var ( const VectorBase< CPLXSXP, NA, T > & t)
inline

Definition at line 89 of file var.h.

◆ var() [2/4]

template<bool NA, typename T>
sugar::Var< INTSXP, NA, T > Rcpp::var ( const VectorBase< INTSXP, NA, T > & t)
inline

Definition at line 79 of file var.h.

◆ var() [3/4]

template<bool NA, typename T>
sugar::Var< LGLSXP, NA, T > Rcpp::var ( const VectorBase< LGLSXP, NA, T > & t)
inline

Definition at line 84 of file var.h.

◆ var() [4/4]

template<bool NA, typename T>
sugar::Var< REALSXP, NA, T > Rcpp::var ( const VectorBase< REALSXP, NA, T > & t)
inline

Definition at line 74 of file var.h.

Referenced by Rcpp::sugar::Sd< RTYPE, NA, T >::get().

◆ warning() [1/2]

template<typename... Args>
void Rcpp::warning ( const char * fmt,
Args &&... args )
inline

Definition at line 189 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [2/2]

◆ warningcall()

void Rcpp::warningcall ( SEXP call,
const std::string & s )
inline

Definition at line 28 of file print.h.

◆ which_max()

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::which_max ( const VectorBase< RTYPE, NA, T > & t)

Definition at line 90 of file which_max.h.

References Rcpp::sugar::WhichMax< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ which_min()

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::which_min ( const VectorBase< RTYPE, NA, T > & t)

Definition at line 90 of file which_min.h.

References Rcpp::sugar::WhichMin< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ wrap()

template<>
SEXP Rcpp::wrap ( const Date & date)
inline

Definition at line 38 of file Date.h.

References Rcpp::Date::getDate(), and Rcpp::internal::new_date_object().

Referenced by Rcpp::Armor< T >::Armor(), as_character_externalptr(), Rcpp::Vector< VECSXP, StoragePolicy >::assign(), Rcpp::Vector< VECSXP, StoragePolicy >::assign_object(), Rcpp::Vector< VECSXP, StoragePolicy >::assign_sugar_expression(), Rcpp::ChildVector< T >::ChildVector(), compileAttributes(), Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl(), CppProperty_GetConstMethod< Class, PROP >::get(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::get(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::get(), CppProperty_GetMethod< Class, PROP >::get(), CppProperty_GetMethod_SetMethod< Class, PROP >::get(), CppProperty_GetMethod_SetPointer< Class, PROP >::get(), CppProperty_GetPointer_SetMethod< Class, PROP >::get(), CppProperty_GetPointer_SetPointer< Class, PROP >::get(), CppProperty_GetPointerMethod< Class, PROP >::get(), CppProperty_Getter< PROP >::get(), CppProperty_Getter_Setter< PROP >::get(), Rcpp::sugar::IndexHash< RTYPE >::get_profile_data(), Rcpp::internal::grow__dispatch(), Rcpp::internal::grow__dispatch(), Rcpp::internal::lgrow__dispatch(), Rcpp::internal::lgrow__dispatch(), Rcpp::Dimension::operator SEXP(), Rcpp::ListOf< T >::operator SEXP(), Rcpp::SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T >::operator SEXP(), Rcpp::sugar::Sign< RTYPE, NA, T >::operator SEXP(), Rcpp::Armor< T >::operator=(), Rcpp::AttributeProxyPolicy< CLASS >::AttributeProxy::operator=(), Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator=(), Rcpp::ChildVector< T >::operator=(), Rcpp::DottedPairProxyPolicy< CLASS >::DottedPairProxy::operator=(), Rcpp::DottedPairProxyPolicy< CLASS >::DottedPairProxy::operator=(), Rcpp::FieldProxyPolicy< CLASS >::FieldProxy::operator=(), Rcpp::internal::generic_name_proxy< VECSXP, StoragePolicy >::operator=(), Rcpp::internal::generic_proxy< EXPRSXP, StoragePolicy >::operator=(), Rcpp::NamesProxyPolicy< CLASS >::NamesProxy::operator=(), Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator=(), Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator=(), Rcpp::TagProxyPolicy< XPtrClass >::TagProxy::operator=(), Rcpp::sugar::Lapply< RTYPE, NA, T, Function >::operator[](), PiLeibniz(), Rcpp::internal::range_wrap_dispatch___impl__pair(), RCPP_API_CLASS(), and Rcpp::attributes::SourceFileAttributesParser::SourceFileAttributesParser().

Here is the call graph for this function:

◆ wrap< Datetime >()

template<>
SEXP Rcpp::wrap< Datetime > ( const Datetime & date)
inline

Definition at line 44 of file Datetime.h.

References Rcpp::Datetime::getFractionalTimestamp(), and Rcpp::internal::new_posixt_object().

Here is the call graph for this function:

◆ wrap< Rcpp::Date >()

template<>
SEXP Rcpp::wrap< Rcpp::Date > ( const Rcpp::Date & date)

◆ wrap< Rcpp::Datetime >()

template<>
SEXP Rcpp::wrap< Rcpp::Datetime > ( const Rcpp::Datetime & dt)

◆ wrap< Rcpp::String >()

template<>
SEXP Rcpp::wrap< Rcpp::String > ( const Rcpp::String & object)
inline

Definition at line 709 of file String.h.

References RCPP_STRING_DEBUG.

◆ wrap_extra_steps()

template<typename T>
SEXP Rcpp::wrap_extra_steps ( SEXP x)

Definition at line 28 of file wrap_extra_steps.h.

◆ wrap_extra_steps< Rcpp::Date >() [1/2]

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Date > ( SEXP x)
inline

Definition at line 151 of file Date.h.

◆ wrap_extra_steps< Rcpp::Date >() [2/2]

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Date > ( SEXP x)
inline

Definition at line 151 of file Date.h.

◆ wrap_extra_steps< Rcpp::Datetime >() [1/3]

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Datetime > ( SEXP x)
inline

Definition at line 38 of file Datetime.h.

References Rcpp::internal::getPosixClasses().

Here is the call graph for this function:

◆ wrap_extra_steps< Rcpp::Datetime >() [2/3]

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Datetime > ( SEXP x)
inline

Definition at line 38 of file Datetime.h.

◆ wrap_extra_steps< Rcpp::Datetime >() [3/3]

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Datetime > ( SEXP x)
inline

Definition at line 38 of file Datetime.h.

References Rcpp::internal::getPosixClasses().

Here is the call graph for this function:

◆ yes()

bool Rcpp::yes ( SEXP * ,
int  )
inline

Definition at line 240 of file Module.h.

◆ yes_arity()

template<int n>
bool Rcpp::yes_arity ( SEXP * ,
int nargs )

Definition at line 245 of file Module.h.

Variable Documentation

◆ _

◆ BindingPolicy< Environment_Impl< StoragePolicy > >

Initial value:
{
private:
inline SEXP as_environment(SEXP x){
if( Rf_isEnvironment(x) ) return x ;
SEXP asEnvironmentSym = Rf_install("as.environment");
try {
Shield<SEXP> call(Rf_lang2(asEnvironmentSym, x));
return Rcpp_fast_eval(call, R_GlobalEnv);
} catch( const eval_error& ex) {
const char* fmt = "Cannot convert object to an environment: "
"[type=%s; target=ENVSXP].";
throw not_compatible(fmt, Rf_type2char(TYPEOF(x)));
}
}
public:
Storage::set__(R_GlobalEnv) ;
}
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)
Definition Rcpp_eval.h:49
Environment_Impl(SEXP x)
Definition Environment.h:57

Definition at line 28 of file Environment.h.

◆ current_scope

Module* Rcpp::current_scope
static

Definition at line 224 of file module.cpp.

Referenced by getCurrentScope(), and setCurrentScope().

◆ DottedPairImpl< DottedPair_Impl< StoragePolicy > >

Rcpp::DottedPairImpl< DottedPair_Impl< StoragePolicy > >
Initial value:
{
public:
DottedPair_Impl(){}
DottedPair_Impl(SEXP x) {
Storage::set__(x) ;
}
template <typename... T>
DottedPair_Impl(const T&... args) {
Storage::set__(pairlist(args...));
}
void update(SEXP){}
}
SEXP pairlist()
Definition grow.h:30
void update(SEXP)

Definition at line 27 of file DottedPair.h.

◆ DottedPairImpl< Formula_Impl< StoragePolicy > >

Rcpp::DottedPairImpl< Formula_Impl< StoragePolicy > >
Initial value:
{
public:
Formula_Impl(SEXP x)
Definition Formula.h:40

Definition at line 30 of file Formula.h.

◆ DottedPairImpl< Language_Impl< StoragePolicy > >

Rcpp::DottedPairImpl< Language_Impl< StoragePolicy > >
Initial value:

Definition at line 31 of file Language.h.

◆ DottedPairImpl< Pairlist_Impl< StoragePolicy > >

Rcpp::DottedPairImpl< Pairlist_Impl< StoragePolicy > >
Initial value:

Definition at line 31 of file Pairlist.h.

◆ DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >

Rcpp::DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >

Definition at line 27 of file DottedPair.h.

◆ DottedPairProxyPolicy< Formula_Impl< StoragePolicy > >

Definition at line 30 of file Formula.h.

◆ DottedPairProxyPolicy< Language_Impl< StoragePolicy > >

Definition at line 31 of file Language.h.

◆ DottedPairProxyPolicy< Pairlist_Impl< StoragePolicy > >

Definition at line 31 of file Pairlist.h.

◆ DottedPairProxyPolicy< StretchyList_Impl< StoragePolicy > >

Initial value:

Definition at line 33 of file StretchyList.h.

◆ FieldProxyPolicy< Reference_Impl< StoragePolicy > >

Rcpp::FieldProxyPolicy< Reference_Impl< StoragePolicy > >
Initial value:
{
public:
Reference_Impl() {}
Reference_Impl(SEXP x) {
Storage::set__(x) ;
}
Reference_Impl& operator=( SEXP other ) {
Storage::set__(other) ;
return *this ;
}
Reference_Impl( const std::string& klass ) {
SEXP newSym = Rf_install("new");
Shield<SEXP> str(Rf_mkString(klass.c_str()));
Shield<SEXP> call(Rf_lang2(newSym, str));
Storage::set__( Rcpp_fast_eval( call , Rcpp::internal::get_Rcpp_namespace()) );
}
void update( SEXP x){
if( ! ::Rf_isS4(x) ) throw not_reference();
}
}
attribute_hidden SEXP get_Rcpp_namespace()
Definition routines.h:121

Definition at line 30 of file Reference.h.

◆ gmt

const char Rcpp::gmt[] = "GMT"
static

Definition at line 357 of file date.cpp.

Referenced by gmtload().

◆ gmt_is_set

int Rcpp::gmt_is_set
static

Definition at line 428 of file date.cpp.

Referenced by gmtsub().

◆ gmtmem

struct state Rcpp::gmtmem
static

Definition at line 431 of file date.cpp.

◆ mon_lengths

const int Rcpp::mon_lengths[2][MONSPERYEAR]
static
Initial value:
= {
{ 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 419 of file date.cpp.

Referenced by timesub(), and transtime().

◆ NA

◆ Rcerr

Rostream< false > & Rcpp::Rcerr = Rcpp_cerr_get()
static

Definition at line 89 of file Rstreambuf.h.

◆ Rcout

Rostream< true > & Rcpp::Rcout = Rcpp_cout_get()
static

◆ Rcpp_precious

SEXP Rcpp::Rcpp_precious = R_NilValue
static

Definition at line 99 of file barrier.cpp.

◆ time_t_max

time_t const Rcpp::time_t_max = MAXVAL(time_t, TYPE_BIT(time_t))
static

Definition at line 161 of file date.cpp.

Referenced by increment_overflow_time().

◆ time_t_min

time_t const Rcpp::time_t_min = MINVAL(time_t, TYPE_BIT(time_t))
static

Definition at line 160 of file date.cpp.

Referenced by increment_overflow_time().

◆ tm

struct tm Rcpp::tm
static

Definition at line 435 of file date.cpp.

Referenced by Rcpp::Date::format(), Rcpp::Datetime::format(), gmtime_(), gmtsub(), mktime00(), and timesub().

◆ year_lengths

const int Rcpp::year_lengths[2]
static
Initial value:
= {
}
#define DAYSPERNYEAR
Definition date.cpp:294
#define DAYSPERLYEAR
Definition date.cpp:295

Definition at line 424 of file date.cpp.

Referenced by timesub(), and tzparse().