Rcpp Version 0.12.12
Rcpp::sugar::Minus_Vector_Primitive< REALSXP, NA, T > Class Template Reference

#include <minus.h>

Inheritance diagram for Rcpp::sugar::Minus_Vector_Primitive< REALSXP, NA, T >:
Collaboration diagram for Rcpp::sugar::Minus_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, Minus_Vector_Primitive< REALSXP, NA, T > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 Minus_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, Minus_Vector_Primitive< REALSXP, NA, T > >
Minus_Vector_Primitive< REALSXP, NA, T > & get_ref ()
 
const Minus_Vector_Primitive< REALSXP, NA, T > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const VEC_EXTlhs
 
double rhs
 

Detailed Description

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

Definition at line 252 of file minus.h.

Member Typedef Documentation

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

Definition at line 256 of file minus.h.

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

Definition at line 255 of file minus.h.

Constructor & Destructor Documentation

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

Definition at line 258 of file minus.h.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 268 of file minus.h.

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

Definition at line 269 of file minus.h.


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