|
| | Matrix () |
| |
| | Matrix (SEXP x) |
| |
| | Matrix (const Dimension &dims) |
| |
| | Matrix (const int &nrows_, const int &ncols) |
| |
| template<typename Iterator > |
| | Matrix (const int &nrows_, const int &ncols, Iterator start) |
| |
| | Matrix (const int &n) |
| |
| | Matrix (const Matrix &other) |
| |
| template<bool NA, typename MAT > |
| | Matrix (const MatrixBase< RTYPE, NA, MAT > &other) |
| |
| | Matrix (const SubMatrix< RTYPE > &) |
| |
| Matrix & | operator= (const Matrix &other) |
| |
| Matrix & | operator= (const SubMatrix< RTYPE > &) |
| |
| | Matrix (const no_init_matrix &obj) |
| |
| int | ncol () const |
| |
| int | nrow () const |
| |
| int | cols () const |
| |
| int | rows () const |
| |
| Row | row (int i) |
| |
| ConstRow | row (int i) const |
| |
| Column | column (int i) |
| |
| ConstColumn | column (int i) const |
| |
| const_iterator | begin () const |
| |
| const_iterator | end () const |
| |
| const_iterator | cbegin () const |
| |
| const_iterator | cend () const |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
| template<typename U > |
| void | fill_diag (const U &u) |
| |
| Proxy | operator[] (R_xlen_t i) |
| |
| const_Proxy | operator[] (R_xlen_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 |
| |
| Proxy | at (const size_t &i, const size_t &j) |
| |
| const_Proxy | at (const size_t &i, const size_t &j) const |
| |
| Row | operator() (int i, internal::NamedPlaceHolder) |
| |
| ConstRow | operator() (int i, internal::NamedPlaceHolder) const |
| |
| Column | operator() (internal::NamedPlaceHolder, int i) |
| |
| ConstColumn | operator() (internal::NamedPlaceHolder, int i) const |
| |
| Sub | operator() (const Range &row_range, const Range &col_range) |
| |
| Sub | operator() (internal::NamedPlaceHolder, const Range &col_range) |
| |
| Sub | operator() (const Range &row_range, internal::NamedPlaceHolder) |
| |
| | Vector () |
| |
| | Vector (const Vector &other) |
| |
| Vector & | operator= (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 > |
| Vector & | operator= (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 |
| |
| Vector & | sort (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 > |
| Vector & | operator+= (const VectorBase< RTYPE, true, EXPR_VEC > &rhs) |
| |
| template<typename EXPR_VEC > |
| Vector & | operator+= (const VectorBase< RTYPE, false, EXPR_VEC > &rhs) |
| |
| bool | containsElementNamed (const char *target) const |
| |
| R_xlen_t | findName (const std::string &name) const |
| |
| SEXP | eval () const |
| |
| SEXP | eval (SEXP env) const |
| |
| SlotProxy | slot (const std::string &name) |
| |
| const_SlotProxy | slot (const std::string &name) const |
| |
| bool | hasSlot (const std::string &name) const |
| |
| 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 |
| |
| NamesProxy | names () |
| |
| const_NamesProxy | names () const |
| |
| bool | isNULL () const |
| |
| int | sexp_type () const |
| |
| bool | isObject () const |
| |
| bool | isS4 () const |
| |
| VECTOR & | get_ref () |
| |
| const VECTOR & | 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 |
| |
| MATRIX & | get_ref () |
| |
| stored_type | operator() (int i, int j) const |
| |
| R_xlen_t | size () const |
| |
| R_xlen_t | nrow () const |
| |
| R_xlen_t | ncol () const |
| |
| iterator | begin () const |
| |
| iterator | end () const |
| |
template<
int RTYPE,
template<
class >
class StoragePolicy = PreserveStorage>
class Rcpp::Matrix< RTYPE, StoragePolicy >
Definition at line 28 of file Matrix.h.