Rcpp Version 1.0.14
Loading...
Searching...
No Matches
Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > Class Template Reference

#include <SugarBlock_2.h>

Inheritance diagram for Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >:
Collaboration diagram for Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >:

Public Types

typedef RESULT_TYPE(* FunPtr) (U1, U2)
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > const_iterator
 

Public Member Functions

 SugarBlock_2 (FunPtr ptr_, const T1 &x_, const T2 &y_)
 
RESULT_TYPE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > >
SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > & get_ref ()
 
const SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Private Attributes

FunPtr ptr
 
const T1x
 
const T2y
 

Detailed Description

template<bool NA, typename RESULT_TYPE, typename U1, typename T1, typename U2, typename T2>
class Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >

Definition at line 29 of file SugarBlock_2.h.

Member Typedef Documentation

◆ FunPtr

Definition at line 31 of file SugarBlock_2.h.

Constructor & Destructor Documentation

◆ SugarBlock_2()

Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >::SugarBlock_2 ( FunPtr  ptr_,
const T1 x_,
const T2 y_ 
)
inline

Definition at line 32 of file SugarBlock_2.h.

Member Function Documentation

◆ operator[]()

◆ size()

Member Data Documentation

◆ ptr

◆ x

◆ y


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