Rcpp Version 1.0.14
Loading...
Searching...
No Matches
Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function > Class Template Reference

#include <outer.h>

Inheritance diagram for Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >:
Collaboration diagram for Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >:

Public Types

typedef ::Rcpp::traits::result_of< Function >::type result_type
 
typedef Rcpp::VectorBase< RTYPE, LHS_NA, LHS_TLHS_TYPE
 
typedef Rcpp::VectorBase< RTYPE, RHS_NA, RHS_TRHS_TYPE
 
typedef Rcpp::internal::LazyVector< LHS_TYPELHS_LAZY
 
typedef Rcpp::internal::LazyVector< RHS_TYPERHS_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, Functioneye (int n)
 
static Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Functionones (int n)
 
static Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Functionzeros (int n)
 

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T, typename Function>
class Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >

Definition at line 32 of file outer.h.

Member Typedef Documentation

◆ converter_type

Definition at line 50 of file outer.h.

◆ LHS_LAZY

Definition at line 47 of file outer.h.

◆ LHS_TYPE

Definition at line 44 of file outer.h.

◆ result_type

Definition at line 40 of file outer.h.

◆ RHS_LAZY

Definition at line 48 of file outer.h.

◆ RHS_TYPE

Definition at line 45 of file outer.h.

◆ STORAGE

Definition at line 51 of file outer.h.

Constructor & Destructor Documentation

◆ Outer()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::Outer ( const LHS_TYPE lhs_,
const RHS_TYPE rhs_,
Function  fun_ 
)
inline

Definition at line 53 of file outer.h.

Member Function Documentation

◆ ncol()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
int Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::ncol ( ) const
inline

◆ nrow()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
int Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::nrow ( ) const
inline

◆ operator()()

◆ size()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
R_xlen_t Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::size ( ) const
inline

Member Data Documentation

◆ fun

◆ lhs

◆ nc

◆ nr

◆ RESULT_R_TYPE

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
const int Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::RESULT_R_TYPE
static

◆ rhs


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