Rcpp Version 0.12.14
Rcpp::Vector< RTYPE, StoragePolicy > Class Template Reference

#include <00_forward_Vector.h>

Inheritance diagram for Rcpp::Vector< RTYPE, StoragePolicy >:
Collaboration diagram for Rcpp::Vector< RTYPE, StoragePolicy >:

Public Types

typedef StoragePolicy< VectorStorage
 
typedef traits::r_vector_proxy< RTYPE >::type Proxy
 
typedef traits::r_vector_const_proxy< RTYPE >::type const_Proxy
 
typedef traits::r_vector_name_proxy< RTYPE >::type NameProxy
 
typedef traits::r_vector_proxy< RTYPE >::type value_type
 
typedef traits::r_vector_iterator< RTYPE >::type iterator
 
typedef traits::r_vector_const_iterator< RTYPE >::type const_iterator
 
typedef traits::init_type< RTYPE >::type init_type
 
typedef traits::r_vector_element_converter< RTYPE >::type converter_type
 
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef internal::RangeIndexer< RTYPE, true, VectorIndexer
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, Vector< RTYPE, StoragePolicy > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > const_iterator
 

Public Member Functions

 Vector ()
 
 Vector (const Vector &other)
 
Vectoroperator= (const Vector &rhs)
 
 Vector (SEXP x)
 
template<typename Proxy >
 Vector (const GenericProxy< Proxy > &proxy)
 
 Vector (const no_init_vector &obj)
 
template<typename T >
 Vector (const T &size, const stored_type &u, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
 Vector (const int &size, const stored_type &u)
 
 Vector (const std::string &st)
 
 Vector (const char *st)
 
template<typename T >
 Vector (const T &siz, stored_type(*gen)(void), typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename T >
 Vector (T size, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
 Vector (const int &size)
 
 Vector (const Dimension &dims)
 
template<typename T >
 Vector (T value, typename Rcpp::traits::enable_if< traits::is_bool< T >::value &&RTYPE==LGLSXP, void >::type *=0)
 
template<typename U >
 Vector (const Dimension &dims, const U &u)
 
template<bool NA, typename VEC >
 Vector (const VectorBase< RTYPE, NA, VEC > &other)
 
template<typename T , typename U >
 Vector (const T &size, const U &u, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<bool NA, typename T >
 Vector (const sugar::SingleLogicalResult< NA, T > &obj)
 
template<typename T , typename U1 >
 Vector (const T &siz, stored_type(*gen)(U1), const U1 &u1, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename T , typename U1 , typename U2 >
 Vector (const T &siz, stored_type(*gen)(U1, U2), const U1 &u1, const U2 &u2, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename T , typename U1 , typename U2 , typename U3 >
 Vector (const T &siz, stored_type(*gen)(U1, U2, U3), const U1 &u1, const U2 &u2, const U3 &u3, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename InputIterator >
 Vector (InputIterator first, InputIterator last)
 
template<typename InputIterator , typename T >
 Vector (InputIterator first, InputIterator last, T n, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename InputIterator , typename Func >
 Vector (InputIterator first, InputIterator last, Func func)
 
template<typename InputIterator , typename Func , typename T >
 Vector (InputIterator first, InputIterator last, Func func, T n, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0)
 
template<typename T >
Vectoroperator= (const T &x)
 
R_xlen_t length () const
 
R_xlen_t size () const
 
R_xlen_t offset (const int &i, const int &j) const
 
R_xlen_t offset (const R_xlen_t &i) const
 
R_xlen_t offset (const std::string &name) const
 
template<typename U >
void fill (const U &u)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
Proxy operator[] (R_xlen_t i)
 
const_Proxy operator[] (R_xlen_t i) const
 
Proxy operator() (const size_t &i)
 
const_Proxy operator() (const size_t &i) const
 
Proxy at (const size_t &i)
 
const_Proxy at (const size_t &i) const
 
Proxy operator() (const size_t &i, const size_t &j)
 
const_Proxy operator() (const size_t &i, const size_t &j) const
 
NameProxy operator[] (const std::string &name)
 
NameProxy operator() (const std::string &name)
 
NameProxy operator[] (const std::string &name) const
 
NameProxy operator() (const std::string &name) const
 
 operator RObject () const
 
template<int RHS_RTYPE, bool RHS_NA, typename RHS_T >
SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T > operator[] (const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RHS_RTYPE, bool RHS_NA, typename RHS_T >
const SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T > operator[] (const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &rhs) const
 
Vectorsort (bool decreasing=false)
 
template<typename InputIterator >
void assign (InputIterator first, InputIterator last)
 
template<typename T >
void push_back (const T &object)
 
template<typename T >
void push_back (const T &object, const std::string &name)
 
template<typename T >
void push_front (const T &object)
 
template<typename T >
void push_front (const T &object, const std::string &name)
 
template<typename T >
iterator insert (iterator position, const T &object)
 
template<typename T >
iterator insert (int position, const T &object)
 
iterator erase (int position)
 
iterator erase (iterator position)
 
iterator erase (int first, int last)
 
iterator erase (iterator first, iterator last)
 
void update (SEXP)
 
Indexer operator[] (const Range &range)
 
template<typename EXPR_VEC >
Vectoroperator+= (const VectorBase< RTYPE, true, EXPR_VEC > &rhs)
 
template<typename EXPR_VEC >
Vectoroperator+= (const VectorBase< RTYPE, false, EXPR_VEC > &rhs)
 
bool containsElementNamed (const char *target) const
 
int findName (const std::string &name) const
 
SEXP eval () const
 
SEXP eval (SEXP env) const
 
- Public Member Functions inherited from Rcpp::SlotProxyPolicy< Vector< RTYPE, StoragePolicy > >
SlotProxy slot (const std::string &name)
 
const_SlotProxy slot (const std::string &name) const
 
bool hasSlot (const std::string &name) const
 
- Public Member Functions inherited from Rcpp::AttributeProxyPolicy< Vector< RTYPE, StoragePolicy > >
AttributeProxy attr (const std::string &name)
 
const_AttributeProxy attr (const std::string &name) const
 
std::vector< std::string > attributeNames () const
 
bool hasAttribute (const std::string &attr) const
 
- Public Member Functions inherited from Rcpp::NamesProxyPolicy< Vector< RTYPE, StoragePolicy > >
NamesProxy names ()
 
const_NamesProxy names () const
 
- Public Member Functions inherited from Rcpp::RObjectMethods< Vector< RTYPE, StoragePolicy > >
bool isNULL () const
 
int sexp_type () const
 
bool isObject () const
 
bool isS4 () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, Vector< RTYPE, StoragePolicy > >
Vector< RTYPE, StoragePolicy > & get_ref ()
 
const Vector< RTYPE, StoragePolicy > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Static Public Member Functions

static stored_type get_na ()
 
static bool is_na (stored_type x)
 
template<typename InputIterator >
static Vector import (InputIterator first, InputIterator last)
 
template<typename InputIterator , typename F >
static Vector import_transform (InputIterator first, InputIterator last, F f)
 
template<typename U >
static void replace_element (iterator it, SEXP names, R_xlen_t index, const U &u)
 
template<typename U >
static void replace_element__dispatch (traits::false_type, iterator it, SEXP names, R_xlen_t index, const U &u)
 
template<typename U >
static void replace_element__dispatch (traits::true_type, iterator it, SEXP names, R_xlen_t index, const U &u)
 
template<typename U >
static void replace_element__dispatch__isArgument (traits::false_type, iterator it, SEXP names, R_xlen_t index, const U &u)
 
template<typename U >
static void replace_element__dispatch__isArgument (traits::true_type, iterator it, SEXP names, R_xlen_t index, const U &u)
 
static Vector create ()
 

Public Attributes

traits::r_vector_cache_type< RTYPE, StoragePolicy >::type cache
 

Protected Member Functions

int * dims () const
 
void init ()
 

Private Member Functions

void push_back__impl (const stored_type &object, traits::true_type)
 
void push_back__impl (const stored_type &object, traits::false_type)
 
void push_back_name__impl (const stored_type &object, const std::string &name, traits::true_type)
 
void push_back_name__impl (const stored_type &object, const std::string &name, traits::false_type)
 
void push_front__impl (const stored_type &object, traits::true_type)
 
void push_front__impl (const stored_type &object, traits::false_type)
 
void push_front_name__impl (const stored_type &object, const std::string &name, traits::true_type)
 
void push_front_name__impl (const stored_type &object, const std::string &name, traits::false_type)
 
iterator insert__impl (iterator position, const stored_type &object_, traits::true_type)
 
iterator insert__impl (iterator position, const stored_type &object, traits::false_type)
 
iterator erase_single__impl (iterator position)
 
iterator erase_range__impl (iterator first, iterator last)
 
template<typename T >
void assign_sugar_expression (const T &x)
 
template<typename T >
void assign_object (const T &x, traits::true_type)
 
template<typename T >
void assign_object (const T &x, traits::false_type)
 
template<bool NA, typename VEC >
void import_sugar_expression (const Rcpp::VectorBase< RTYPE, NA, VEC > &other, traits::false_type)
 
template<bool NA, typename VEC >
void import_sugar_expression (const Rcpp::VectorBase< RTYPE, NA, VEC > &other, traits::true_type)
 
template<typename T >
void import_expression (const T &other, R_xlen_t n)
 
template<typename T >
void fill_or_generate (const T &t)
 
template<typename T >
void fill_or_generate__impl (const T &gen, traits::true_type)
 
template<typename T >
void fill_or_generate__impl (const T &t, traits::false_type)
 
template<typename U >
void fill__dispatch (traits::false_type, const U &u)
 
template<typename U >
void fill__dispatch (traits::true_type, const U &u)
 

Detailed Description

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
class Rcpp::Vector< RTYPE, StoragePolicy >

Examples:
ConvolveBenchmarks/convolve3_cpp.cpp, and ConvolveBenchmarks/convolve4_cpp.cpp.

Definition at line 26 of file 00_forward_Vector.h.

Member Typedef Documentation

◆ const_iterator

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_const_iterator<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::const_iterator

Definition at line 48 of file Vector.h.

◆ const_Proxy

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_const_proxy<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::const_Proxy

Definition at line 44 of file Vector.h.

◆ converter_type

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_element_converter<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::converter_type

Definition at line 50 of file Vector.h.

◆ Indexer

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef internal::RangeIndexer<RTYPE,true,Vector> Rcpp::Vector< RTYPE, StoragePolicy >::Indexer

Definition at line 543 of file Vector.h.

◆ init_type

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::init_type<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::init_type

Definition at line 49 of file Vector.h.

◆ iterator

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_iterator<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::iterator

Definition at line 47 of file Vector.h.

◆ NameProxy

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_name_proxy<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::NameProxy

Definition at line 45 of file Vector.h.

◆ Proxy

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_proxy<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::Proxy

Definition at line 43 of file Vector.h.

◆ Storage

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef StoragePolicy<Vector> Rcpp::Vector< RTYPE, StoragePolicy >::Storage

Definition at line 40 of file Vector.h.

◆ stored_type

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::storage_type<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::stored_type

Definition at line 51 of file Vector.h.

◆ value_type

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
typedef traits::r_vector_proxy<RTYPE>::type Rcpp::Vector< RTYPE, StoragePolicy >::value_type

Definition at line 46 of file Vector.h.

Constructor & Destructor Documentation

◆ Vector() [1/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( )
inline

Default constructor. Creates a vector of the appropriate type and 0 length

Definition at line 57 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::create(), Rcpp::Vector< INTSXP >::import_transform(), and Rcpp::Vector< INTSXP >::Vector().

◆ Vector() [2/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const Vector< RTYPE, StoragePolicy > &  other)
inline

copy constructor. shallow copy of the SEXP

Definition at line 65 of file Vector.h.

◆ Vector() [3/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( SEXP  x)
inline

Definition at line 73 of file Vector.h.

◆ Vector() [4/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename Proxy >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const GenericProxy< Proxy > &  proxy)
inline

Definition at line 78 of file Vector.h.

◆ Vector() [5/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const no_init_vector obj)
inlineexplicit

Definition at line 82 of file Vector.h.

◆ Vector() [6/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  size,
const stored_type u,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 87 of file Vector.h.

◆ Vector() [7/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const int &  size,
const stored_type u 
)
inline

Definition at line 94 of file Vector.h.

◆ Vector() [8/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const std::string &  st)
inline

Definition at line 101 of file Vector.h.

◆ Vector() [9/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const char *  st)
inline

Definition at line 107 of file Vector.h.

◆ Vector() [10/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  siz,
stored_type(*)(void)  gen,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 113 of file Vector.h.

◆ Vector() [11/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( size,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 122 of file Vector.h.

◆ Vector() [12/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const int &  size)
inline

Definition at line 128 of file Vector.h.

◆ Vector() [13/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const Dimension dims)
inline

Definition at line 133 of file Vector.h.

◆ Vector() [14/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( value,
typename Rcpp::traits::enable_if< traits::is_bool< T >::value &&RTYPE==LGLSXP, void >::type *  = 0 
)
inline

Definition at line 145 of file Vector.h.

◆ Vector() [15/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const Dimension dims,
const U &  u 
)
inline

Definition at line 152 of file Vector.h.

◆ Vector() [16/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<bool NA, typename VEC >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const VectorBase< RTYPE, NA, VEC > &  other)
inline

Definition at line 162 of file Vector.h.

◆ Vector() [17/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T , typename U >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  size,
const U &  u,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 168 of file Vector.h.

◆ Vector() [18/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<bool NA, typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const sugar::SingleLogicalResult< NA, T > &  obj)
inline

Definition at line 176 of file Vector.h.

◆ Vector() [19/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T , typename U1 >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  siz,
stored_type(*)(U1)  gen,
const U1 &  u1,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 182 of file Vector.h.

◆ Vector() [20/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T , typename U1 , typename U2 >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  siz,
stored_type(*)(U1, U2)  gen,
const U1 &  u1,
const U2 &  u2,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 191 of file Vector.h.

◆ Vector() [21/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T , typename U1 , typename U2 , typename U3 >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( const T &  siz,
stored_type(*)(U1, U2, U3)  gen,
const U1 &  u1,
const U2 &  u2,
const U3 &  u3,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 200 of file Vector.h.

◆ Vector() [22/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 209 of file Vector.h.

◆ Vector() [23/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator , typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( InputIterator  first,
InputIterator  last,
n,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 216 of file Vector.h.

◆ Vector() [24/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator , typename Func >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( InputIterator  first,
InputIterator  last,
Func  func 
)
inline

Definition at line 224 of file Vector.h.

◆ Vector() [25/25]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator , typename Func , typename T >
Rcpp::Vector< RTYPE, StoragePolicy >::Vector ( InputIterator  first,
InputIterator  last,
Func  func,
n,
typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *  = 0 
)
inline

Definition at line 231 of file Vector.h.

Member Function Documentation

◆ assign()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator >
void Rcpp::Vector< RTYPE, StoragePolicy >::assign ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 428 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::Vector().

◆ assign_object() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::assign_object ( const T &  x,
traits::true_type   
)
inlineprivate

Definition at line 1050 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::operator=().

◆ assign_object() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::assign_object ( const T &  x,
traits::false_type   
)
inlineprivate

Definition at line 1056 of file Vector.h.

◆ assign_sugar_expression()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::assign_sugar_expression ( const T &  x)
inlineprivate

Definition at line 1035 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::assign_object().

◆ at() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Proxy Rcpp::Vector< RTYPE, StoragePolicy >::at ( const size_t &  i)
inline

◆ at() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_Proxy Rcpp::Vector< RTYPE, StoragePolicy >::at ( const size_t &  i) const
inline

Definition at line 352 of file Vector.h.

◆ begin() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::begin ( )
inline
Examples:
ConvolveBenchmarks/convolve4_cpp.cpp.

Definition at line 332 of file Vector.h.

Referenced by Rcpp::ListOf< T >::begin(), Rcpp::Matrix< RTYPE, StoragePolicy >::begin(), Rcpp::Matrix< RTYPE, StoragePolicy >::cbegin(), convolve10cpp(), convolve12cpp(), convolve4cpp(), convolve8cpp(), convolve9cpp(), Rcpp::sugar::EmpiricalSample(), Rcpp::Vector< INTSXP >::erase_range__impl(), Rcpp::Vector< INTSXP >::erase_single__impl(), fastLm(), Rcpp::Vector< INTSXP >::fill__dispatch(), Rcpp::Vector< INTSXP >::fill_or_generate__impl(), Rcpp::sugar::Mean< RTYPE, NA, T >::get(), Rcpp::sugar::SetDiff< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), Rcpp::sugar::Intersect< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), Rcpp::sugar::Mean< INTSXP, NA, T >::get(), Rcpp::sugar::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), Rcpp::Vector< INTSXP >::import_expression(), Rcpp::Matrix< RTYPE, StoragePolicy >::import_matrix_expression(), Rcpp::Vector< INTSXP >::insert__impl(), Rcpp::Vector< INTSXP >::is_na(), lapplyCpp(), Rcpp::ListOf< T >::ListOf(), Rcpp::sugar::IndexHash< RTYPE >::lookup(), Rcpp::Matrix< RTYPE, StoragePolicy >::Matrix(), Rcpp::Vector< INTSXP >::operator+=(), Rcpp::operator<<(), Rcpp::Matrix< RTYPE, StoragePolicy >::operator=(), Rcpp::Vector< INTSXP >::push_back__impl(), Rcpp::Vector< INTSXP >::push_back_name__impl(), Rcpp::Vector< INTSXP >::push_front__impl(), Rcpp::Vector< INTSXP >::push_front_name__impl(), Rcpp::sugar::SampleNoReplace(), Rcpp::sugar::SampleReplace(), stack_trace(), and Rcpp::Vector< INTSXP >::Vector().

◆ begin() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_iterator Rcpp::Vector< RTYPE, StoragePolicy >::begin ( ) const
inline

Definition at line 334 of file Vector.h.

◆ cbegin()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_iterator Rcpp::Vector< RTYPE, StoragePolicy >::cbegin ( ) const
inline

Definition at line 336 of file Vector.h.

◆ cend()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_iterator Rcpp::Vector< RTYPE, StoragePolicy >::cend ( ) const
inline

Definition at line 337 of file Vector.h.

◆ containsElementNamed()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
bool Rcpp::Vector< RTYPE, StoragePolicy >::containsElementNamed ( const char *  target) const
inline

Does this vector have an element with the target name

Definition at line 584 of file Vector.h.

◆ create()

◆ dims()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
int* Rcpp::Vector< RTYPE, StoragePolicy >::dims ( ) const
inlineprotected

◆ end() [1/2]

◆ end() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_iterator Rcpp::Vector< RTYPE, StoragePolicy >::end ( ) const
inline

Definition at line 335 of file Vector.h.

◆ erase() [1/4]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase ( int  position)
inline

Definition at line 490 of file Vector.h.

Referenced by Rcpp::DataFrame_Impl< StoragePolicy >::from_list().

◆ erase() [2/4]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase ( iterator  position)
inline

Definition at line 494 of file Vector.h.

◆ erase() [3/4]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase ( int  first,
int  last 
)
inline

Definition at line 498 of file Vector.h.

◆ erase() [4/4]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase ( iterator  first,
iterator  last 
)
inline

Definition at line 503 of file Vector.h.

◆ erase_range__impl()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase_range__impl ( iterator  first,
iterator  last 
)
inlineprivate

Definition at line 975 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::erase().

◆ erase_single__impl()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::erase_single__impl ( iterator  position)
inlineprivate

Definition at line 922 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::erase().

◆ eval() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
SEXP Rcpp::Vector< RTYPE, StoragePolicy >::eval ( ) const
inline

Definition at line 1127 of file Vector.h.

◆ eval() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
SEXP Rcpp::Vector< RTYPE, StoragePolicy >::eval ( SEXP  env) const
inline

Definition at line 1131 of file Vector.h.

◆ fill()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill ( const U &  u)
inline

◆ fill__dispatch() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill__dispatch ( traits::false_type  ,
const U &  u 
)
inlineprivate

Definition at line 1103 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::fill().

◆ fill__dispatch() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill__dispatch ( traits::true_type  ,
const U &  u 
)
inlineprivate

Definition at line 1113 of file Vector.h.

◆ fill_or_generate()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill_or_generate ( const T &  t)
inlineprivate

Definition at line 1086 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::Vector().

◆ fill_or_generate__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill_or_generate__impl ( const T &  gen,
traits::true_type   
)
inlineprivate

Definition at line 1091 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::fill_or_generate().

◆ fill_or_generate__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::fill_or_generate__impl ( const T &  t,
traits::false_type   
)
inlineprivate

Definition at line 1098 of file Vector.h.

◆ findName()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
int Rcpp::Vector< RTYPE, StoragePolicy >::findName ( const std::string &  name) const
inline

Definition at line 595 of file Vector.h.

◆ get_na()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
static stored_type Rcpp::Vector< RTYPE, StoragePolicy >::get_na ( )
inlinestatic

Definition at line 250 of file Vector.h.

◆ import()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator >
static Vector Rcpp::Vector< RTYPE, StoragePolicy >::import ( InputIterator  first,
InputIterator  last 
)
inlinestatic

Definition at line 438 of file Vector.h.

◆ import_expression()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::import_expression ( const T &  other,
R_xlen_t  n 
)
inlineprivate

Definition at line 1080 of file Vector.h.

◆ import_sugar_expression() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<bool NA, typename VEC >
void Rcpp::Vector< RTYPE, StoragePolicy >::import_sugar_expression ( const Rcpp::VectorBase< RTYPE, NA, VEC > &  other,
traits::false_type   
)
inlineprivate

Definition at line 1064 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::Vector().

◆ import_sugar_expression() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<bool NA, typename VEC >
void Rcpp::Vector< RTYPE, StoragePolicy >::import_sugar_expression ( const Rcpp::VectorBase< RTYPE, NA, VEC > &  other,
traits::true_type   
)
inlineprivate

Definition at line 1073 of file Vector.h.

◆ import_transform()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename InputIterator , typename F >
static Vector Rcpp::Vector< RTYPE, StoragePolicy >::import_transform ( InputIterator  first,
InputIterator  last,
f 
)
inlinestatic

Definition at line 445 of file Vector.h.

◆ init()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::init ( )
inlineprotected

◆ insert() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
iterator Rcpp::Vector< RTYPE, StoragePolicy >::insert ( iterator  position,
const T &  object 
)
inline

◆ insert() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
iterator Rcpp::Vector< RTYPE, StoragePolicy >::insert ( int  position,
const T &  object 
)
inline

Definition at line 484 of file Vector.h.

◆ insert__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::insert__impl ( iterator  position,
const stored_type object_,
traits::true_type   
)
inlineprivate

Definition at line 841 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::insert().

◆ insert__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
iterator Rcpp::Vector< RTYPE, StoragePolicy >::insert__impl ( iterator  position,
const stored_type object,
traits::false_type   
)
inlineprivate

Definition at line 882 of file Vector.h.

◆ is_na()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
static bool Rcpp::Vector< RTYPE, StoragePolicy >::is_na ( stored_type  x)
inlinestatic

Definition at line 253 of file Vector.h.

◆ length()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
R_xlen_t Rcpp::Vector< RTYPE, StoragePolicy >::length ( ) const
inline

the length of the vector, uses Rf_xlength

Definition at line 267 of file Vector.h.

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

◆ offset() [1/3]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
R_xlen_t Rcpp::Vector< RTYPE, StoragePolicy >::offset ( const int &  i,
const int &  j 
) const
inline

◆ offset() [2/3]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
R_xlen_t Rcpp::Vector< RTYPE, StoragePolicy >::offset ( const R_xlen_t &  i) const
inline

one dimensional offset doing bounds checking to ensure it is valid

Definition at line 301 of file Vector.h.

◆ offset() [3/3]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
R_xlen_t Rcpp::Vector< RTYPE, StoragePolicy >::offset ( const std::string &  name) const
inline

Definition at line 309 of file Vector.h.

◆ operator RObject()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Rcpp::Vector< RTYPE, StoragePolicy >::operator RObject ( ) const
inline

Definition at line 377 of file Vector.h.

◆ operator()() [1/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const size_t &  i)
inline

Definition at line 342 of file Vector.h.

◆ operator()() [2/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const size_t &  i) const
inline

Definition at line 345 of file Vector.h.

◆ operator()() [3/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const size_t &  i,
const size_t &  j 
)
inline

Definition at line 356 of file Vector.h.

◆ operator()() [4/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const size_t &  i,
const size_t &  j 
) const
inline

Definition at line 359 of file Vector.h.

◆ operator()() [5/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
NameProxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const std::string &  name)
inline

Definition at line 366 of file Vector.h.

◆ operator()() [6/6]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
NameProxy Rcpp::Vector< RTYPE, StoragePolicy >::operator() ( const std::string &  name) const
inline

Definition at line 373 of file Vector.h.

◆ operator+=() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename EXPR_VEC >
Vector& Rcpp::Vector< RTYPE, StoragePolicy >::operator+= ( const VectorBase< RTYPE, true, EXPR_VEC > &  rhs)
inline

Definition at line 550 of file Vector.h.

◆ operator+=() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename EXPR_VEC >
Vector& Rcpp::Vector< RTYPE, StoragePolicy >::operator+= ( const VectorBase< RTYPE, false, EXPR_VEC > &  rhs)
inline

Definition at line 567 of file Vector.h.

◆ operator=() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Vector& Rcpp::Vector< RTYPE, StoragePolicy >::operator= ( const Vector< RTYPE, StoragePolicy > &  rhs)
inline

◆ operator=() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
Vector& Rcpp::Vector< RTYPE, StoragePolicy >::operator= ( const T &  x)
inline

Definition at line 245 of file Vector.h.

◆ operator[]() [1/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( R_xlen_t  i)
inline

Definition at line 339 of file Vector.h.

◆ operator[]() [2/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
const_Proxy Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( R_xlen_t  i) const
inline

Definition at line 340 of file Vector.h.

◆ operator[]() [3/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
NameProxy Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( const std::string &  name)
inline

Definition at line 363 of file Vector.h.

◆ operator[]() [4/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
NameProxy Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( const std::string &  name) const
inline

Definition at line 370 of file Vector.h.

◆ operator[]() [5/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<int RHS_RTYPE, bool RHS_NA, typename RHS_T >
SubsetProxy<RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T> Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &  rhs)
inline

Definition at line 384 of file Vector.h.

◆ operator[]() [6/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<int RHS_RTYPE, bool RHS_NA, typename RHS_T >
const SubsetProxy<RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T> Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &  rhs) const
inline

Definition at line 393 of file Vector.h.

◆ operator[]() [7/7]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Indexer Rcpp::Vector< RTYPE, StoragePolicy >::operator[] ( const Range range)
inline

Definition at line 545 of file Vector.h.

◆ push_back() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back ( const T &  object)
inline

◆ push_back() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back ( const T &  object,
const std::string &  name 
)
inline

Definition at line 457 of file Vector.h.

◆ push_back__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back__impl ( const stored_type object,
traits::true_type   
)
inlineprivate

Definition at line 622 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::push_back().

◆ push_back__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back__impl ( const stored_type object,
traits::false_type   
)
inlineprivate

Definition at line 648 of file Vector.h.

◆ push_back_name__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back_name__impl ( const stored_type object,
const std::string &  name,
traits::true_type   
)
inlineprivate

Definition at line 673 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::push_back().

◆ push_back_name__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_back_name__impl ( const stored_type object,
const std::string &  name,
traits::false_type   
)
inlineprivate

Definition at line 700 of file Vector.h.

◆ push_front() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front ( const T &  object)
inline

Definition at line 464 of file Vector.h.

◆ push_front() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename T >
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front ( const T &  object,
const std::string &  name 
)
inline

Definition at line 470 of file Vector.h.

◆ push_front__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front__impl ( const stored_type object,
traits::true_type   
)
inlineprivate

Definition at line 728 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::push_front().

◆ push_front__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front__impl ( const stored_type object,
traits::false_type   
)
inlineprivate

Definition at line 755 of file Vector.h.

◆ push_front_name__impl() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front_name__impl ( const stored_type object,
const std::string &  name,
traits::true_type   
)
inlineprivate

Definition at line 782 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::push_front().

◆ push_front_name__impl() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::push_front_name__impl ( const stored_type object,
const std::string &  name,
traits::false_type   
)
inlineprivate

Definition at line 811 of file Vector.h.

◆ replace_element()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
static void Rcpp::Vector< RTYPE, StoragePolicy >::replace_element ( iterator  it,
SEXP  names,
R_xlen_t  index,
const U &  u 
)
inlinestatic

Definition at line 512 of file Vector.h.

◆ replace_element__dispatch() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
static void Rcpp::Vector< RTYPE, StoragePolicy >::replace_element__dispatch ( traits::false_type  ,
iterator  it,
SEXP  names,
R_xlen_t  index,
const U &  u 
)
inlinestatic

Definition at line 518 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::replace_element().

◆ replace_element__dispatch() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
static void Rcpp::Vector< RTYPE, StoragePolicy >::replace_element__dispatch ( traits::true_type  ,
iterator  it,
SEXP  names,
R_xlen_t  index,
const U &  u 
)
inlinestatic

Definition at line 523 of file Vector.h.

◆ replace_element__dispatch__isArgument() [1/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
static void Rcpp::Vector< RTYPE, StoragePolicy >::replace_element__dispatch__isArgument ( traits::false_type  ,
iterator  it,
SEXP  names,
R_xlen_t  index,
const U &  u 
)
inlinestatic

Definition at line 528 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::replace_element__dispatch().

◆ replace_element__dispatch__isArgument() [2/2]

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
template<typename U >
static void Rcpp::Vector< RTYPE, StoragePolicy >::replace_element__dispatch__isArgument ( traits::true_type  ,
iterator  it,
SEXP  names,
R_xlen_t  index,
const U &  u 
)
inlinestatic

Definition at line 536 of file Vector.h.

◆ size()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
R_xlen_t Rcpp::Vector< RTYPE, StoragePolicy >::size ( ) const
inline

alias of length

Examples:
ConvolveBenchmarks/convolve3_cpp.cpp, and ConvolveBenchmarks/convolve4_cpp.cpp.

Definition at line 274 of file Vector.h.

Referenced by Rcpp::Vector< INTSXP >::assign_sugar_expression(), Rcpp::Vector< INTSXP >::cend(), convolve(), convolve10cpp(), convolve11cpp(), convolve12cpp(), convolve14cpp(), convolve3cpp(), convolve4cpp(), convolve5cpp(), convolve8cpp(), convolve9cpp(), Rcpp::sugar::EmpiricalSample(), Rcpp::Vector< INTSXP >::end(), Rcpp::Vector< INTSXP >::erase_range__impl(), Rcpp::Vector< INTSXP >::erase_single__impl(), fastLm(), Rcpp::Vector< INTSXP >::fill__dispatch(), Rcpp::DataFrame_Impl< StoragePolicy >::from_list(), Rcpp::sugar::Mean< RTYPE, NA, T >::get(), Rcpp::sugar::SetDiff< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), Rcpp::sugar::Mean< CPLXSXP, NA, T >::get(), Rcpp::sugar::Mean< LGLSXP, NA, T >::get(), Rcpp::sugar::Intersect< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), Rcpp::sugar::Mean< INTSXP, NA, T >::get(), Rcpp::newDateVector::getDates(), Rcpp::newDatetimeVector::getDatetimes(), Rcpp::Vector< INTSXP >::insert__impl(), lapplyCpp(), Rcpp::sugar::IndexHash< RTYPE >::lookup(), Rcpp::sugar::na_omit_impl(), Rcpp::sugar::Normalize(), Rcpp::Vector< INTSXP >::offset(), Rcpp::sugar::Table< RTYPE, TABLE_T >::operator IntegerVector(), Rcpp::Vector< INTSXP >::operator+=(), Rcpp::operator<<(), Rcpp::SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T >::operator=(), Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), Rcpp::attributes::SourceFileAttributesParser::parseSignature(), Rcpp::Vector< INTSXP >::push_back__impl(), Rcpp::Vector< INTSXP >::push_back_name__impl(), Rcpp::Vector< INTSXP >::push_front__impl(), Rcpp::Vector< INTSXP >::push_front_name__impl(), Rcpp::sample(), Rcpp::sugar::SampleNoReplace(), Rcpp::sugar::SampleReplace(), Rcpp::ListOf< T >::size(), Rcpp::Vector< INTSXP >::sort(), Rcpp::attributes::SourceFileAttributesParser::SourceFileAttributesParser(), Rcpp::trimws(), and Rcpp::sugar::WalkerSample().

◆ sort()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
Vector& Rcpp::Vector< RTYPE, StoragePolicy >::sort ( bool  decreasing = false)
inline

Definition at line 400 of file Vector.h.

◆ update()

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
void Rcpp::Vector< RTYPE, StoragePolicy >::update ( SEXP  )
inline

Definition at line 507 of file Vector.h.

Member Data Documentation

◆ cache

template<int RTYPE, template< class > class StoragePolicy = PreserveStorage>
traits::r_vector_cache_type<RTYPE, StoragePolicy>::type Rcpp::Vector< RTYPE, StoragePolicy >::cache

Definition at line 42 of file Vector.h.


The documentation for this class was generated from the following files: