Rcpp Version 1.0.9
Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T > Class Template Reference

#include <divides.h>

Inheritance diagram for Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >:
Collaboration diagram for Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >:

Public Types

typedef Rcpp::VectorBase< REALSXP, NA, T > VEC_TYPE
 
typedef Rcpp::traits::Extractor< REALSXP, NA, T >::type VEC_EXT
 
- Public Types inherited from Rcpp::VectorBase< REALSXP, true, Divides_Vector_Primitive< REALSXP, NA, T > >
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

 Divides_Vector_Primitive (const VEC_TYPE &lhs_, double rhs_)
 
double operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< REALSXP, true, Divides_Vector_Primitive< REALSXP, NA, T > >
Divides_Vector_Primitive< REALSXP, NA, T > & get_ref ()
 
const Divides_Vector_Primitive< REALSXP, NA, T > & 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

const VEC_EXTlhs
 
double rhs
 

Detailed Description

template<bool NA, typename T>
class Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >

Definition at line 252 of file divides.h.

Member Typedef Documentation

◆ VEC_EXT

template<bool NA, typename T >
typedef Rcpp::traits::Extractor<REALSXP,NA,T>::type Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::VEC_EXT

Definition at line 256 of file divides.h.

◆ VEC_TYPE

template<bool NA, typename T >
typedef Rcpp::VectorBase<REALSXP,NA,T> Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::VEC_TYPE

Definition at line 255 of file divides.h.

Constructor & Destructor Documentation

◆ Divides_Vector_Primitive()

template<bool NA, typename T >
Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::Divides_Vector_Primitive ( const VEC_TYPE lhs_,
double  rhs_ 
)
inline

Definition at line 258 of file divides.h.

Member Function Documentation

◆ operator[]()

template<bool NA, typename T >
double Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::operator[] ( R_xlen_t  i) const
inline

◆ size()

template<bool NA, typename T >
R_xlen_t Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::size ( ) const
inline

Member Data Documentation

◆ lhs

template<bool NA, typename T >
const VEC_EXT& Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::lhs
private

Definition at line 269 of file divides.h.

◆ rhs

template<bool NA, typename T >
double Rcpp::sugar::Divides_Vector_Primitive< REALSXP, NA, T >::rhs
private

Definition at line 270 of file divides.h.


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