Rcpp Version 1.0.9
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_T > LHS_TYPE
 
typedef Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > RHS_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

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
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

Definition at line 50 of file outer.h.

◆ LHS_LAZY

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
typedef Rcpp::internal::LazyVector<LHS_TYPE> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::LHS_LAZY

Definition at line 47 of file outer.h.

◆ LHS_TYPE

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

Definition at line 44 of file outer.h.

◆ result_type

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
typedef ::Rcpp::traits::result_of<Function>::type Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::result_type

Definition at line 40 of file outer.h.

◆ RHS_LAZY

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
typedef Rcpp::internal::LazyVector<RHS_TYPE> Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::RHS_LAZY

Definition at line 48 of file outer.h.

◆ RHS_TYPE

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

Definition at line 45 of file outer.h.

◆ STORAGE

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
typedef Rcpp::traits::storage_type<RESULT_R_TYPE>::type Rcpp::sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Function >::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()()

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

◆ 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

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

◆ lhs

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

◆ nc

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 >::nc
private

◆ nr

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 >::nr
private

◆ 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

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

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