Rcpp Version 1.0.9
|
#include <MatrixBase.h>
Classes | |
struct | can_have_na |
class | iterator |
struct | r_matrix_interface |
struct | r_type |
Public Types | |
typedef traits::storage_type< RTYPE >::type | stored_type |
Public Member Functions | |
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 |
Static Public Member Functions | |
static MATRIX | eye (int n) |
static MATRIX | ones (int n) |
static MATRIX | zeros (int n) |
a base class for vectors, modelled after the CRTP
Definition at line 32 of file MatrixBase.h.
typedef traits::storage_type<RTYPE>::type Rcpp::MatrixBase< RTYPE, na, MATRIX >::stored_type |
Definition at line 37 of file MatrixBase.h.
|
inline |
Definition at line 191 of file MatrixBase.h.
|
inline |
Definition at line 192 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::size().
|
inlinestatic |
Definition at line 51 of file MatrixBase.h.
References Rcpp::diag().
|
inline |
Definition at line 39 of file MatrixBase.h.
Referenced by Rcpp::internal::as_vector__impl().
|
inline |
Definition at line 49 of file MatrixBase.h.
Referenced by Rcpp::sugar::RowSumsImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::RowSumsImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::ColSumsImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::ColSumsImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::RowMeansImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::RowMeansImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::ColMeansImpl< RTYPE, NA, T, NA_RM >::get(), and Rcpp::sugar::ColMeansImpl< RTYPE, NA, T, true >::get().
|
inline |
Definition at line 48 of file MatrixBase.h.
Referenced by Rcpp::sugar::RowSumsImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::RowSumsImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::ColSumsImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::ColSumsImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::RowMeansImpl< RTYPE, NA, T, NA_RM >::get(), Rcpp::sugar::RowMeansImpl< RTYPE, NA, T, true >::get(), Rcpp::sugar::ColMeansImpl< RTYPE, NA, T, NA_RM >::get(), and Rcpp::sugar::ColMeansImpl< RTYPE, NA, T, true >::get().
|
inlinestatic |
Definition at line 60 of file MatrixBase.h.
|
inline |
Definition at line 43 of file MatrixBase.h.
|
inline |
Definition at line 47 of file MatrixBase.h.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::end().
|
inlinestatic |
Definition at line 74 of file MatrixBase.h.