Rcpp Version 0.9.10
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 >:

List of all members.

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 Member Functions

 Outer (const LHS_TYPE &lhs_, const RHS_TYPE &rhs_, Function fun_)
STORAGE operator() (int i, int j) const
int size () const
int nrow () const
int ncol () const

Static Public Attributes

static const int RESULT_R_TYPE

Private Attributes

LHS_LAZY lhs
RHS_LAZY rhs
Function fun
int nr
int nc

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

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.

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.

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.

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.

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.

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.

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

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

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]
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]
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 >::size ( ) const [inline]

Member Data Documentation

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]
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]
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]
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]
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]
Initial value:

Definition at line 41 of file outer.h.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines