Rcpp Version 1.0.9
|
#include <outer.h>
Public Types | |
typedef ::Rcpp::traits::result_of< Function >::type | result_type |
typedef Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > | LHS_TYPE |
typedef Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > | RHS_TYPE |
typedef Rcpp::internal::LazyVector< LHS_TYPE > | LHS_LAZY |
typedef Rcpp::internal::LazyVector< RHS_TYPE > | RHS_LAZY |
typedef Rcpp::traits::r_vector_element_converter< RESULT_R_TYPE >::type | converter_type |
typedef Rcpp::traits::storage_type< RESULT_R_TYPE >::type | STORAGE |
Public Types inherited from Rcpp::MatrixBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function >::type >::rtype, true, Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > > | |
typedef traits::storage_type< RTYPE >::type | stored_type |
Public Member Functions | |
Outer (const LHS_TYPE &lhs_, const RHS_TYPE &rhs_, Function fun_) | |
STORAGE | operator() (int i, int j) const |
R_xlen_t | size () const |
int | nrow () const |
int | ncol () const |
Public Member Functions inherited from Rcpp::MatrixBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function >::type >::rtype, true, Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > > | |
Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > & | 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 Attributes | |
static const int | RESULT_R_TYPE |
Private Attributes | |
LHS_LAZY | lhs |
RHS_LAZY | rhs |
Function | fun |
int | nr |
int | nc |
Additional Inherited Members | |
Static Public Member Functions inherited from Rcpp::MatrixBase< Rcpp::traits::r_sexptype_traits< ::Rcpp::traits::result_of< Function >::type >::rtype, true, Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > > | |
static Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > | eye (int n) |
static Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > | ones (int n) |
static Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > | zeros (int n) |
typedef Rcpp::traits::r_vector_element_converter<RESULT_R_TYPE>::type Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::converter_type |
typedef Rcpp::internal::LazyVector<LHS_TYPE> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::LHS_LAZY |
typedef Rcpp::VectorBase<RTYPE,LHS_NA,LHS_T> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::LHS_TYPE |
typedef ::Rcpp::traits::result_of<Function>::type Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::result_type |
typedef Rcpp::internal::LazyVector<RHS_TYPE> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::RHS_LAZY |
typedef Rcpp::VectorBase<RTYPE,RHS_NA,RHS_T> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::RHS_TYPE |
typedef Rcpp::traits::storage_type<RESULT_R_TYPE>::type Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::STORAGE |
|
inline |
Definition at line 62 of file outer.h.
References Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nc.
|
inline |
Definition at line 61 of file outer.h.
References Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nr.
|
inline |
Definition at line 56 of file outer.h.
References Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::fun, Rcpp::internal::element_converter< RTYPE >::get(), Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::lhs, and Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::rhs.
|
inline |
Definition at line 60 of file outer.h.
References Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nc, and Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nr.
|
private |
Definition at line 69 of file outer.h.
Referenced by Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::operator()().
|
private |
Definition at line 66 of file outer.h.
Referenced by Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::operator()().
|
private |
Definition at line 70 of file outer.h.
Referenced by Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::ncol(), and Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::size().
|
private |
Definition at line 70 of file outer.h.
Referenced by Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nrow(), and Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::size().
|
static |
|
private |
Definition at line 67 of file outer.h.
Referenced by Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::operator()().