Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Class Template Reference

#include <minus.h>

Inheritance diagram for Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >:
Collaboration diagram for Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > LHS_TYPE
typedef Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > RHS_TYPE
typedef traits::storage_type< RTYPE >::type STORAGE
typedef Rcpp::traits::Extractor< RTYPE, LHS_NA, LHS_T >::type LHS_EXT
typedef Rcpp::traits::Extractor< RTYPE, RHS_NA, RHS_T >::type RHS_EXT
Public Types inherited from Rcpp::VectorBase< RTYPE, true, Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_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

 Minus_Vector_Vector (const LHS_TYPE &lhs_, const RHS_TYPE &rhs_)
STORAGE operator[] (R_xlen_t i) const
R_xlen_t size () const
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > >
Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > & get_ref ()
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 LHS_EXTlhs
const RHS_EXTrhs

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
class Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >

Definition at line 30 of file minus.h.

Member Typedef Documentation

◆ LHS_EXT

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef Rcpp::traits::Extractor<RTYPE,LHS_NA,LHS_T>::type Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::LHS_EXT

Definition at line 36 of file minus.h.

◆ LHS_TYPE

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

Definition at line 33 of file minus.h.

◆ RHS_EXT

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef Rcpp::traits::Extractor<RTYPE,RHS_NA,RHS_T>::type Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::RHS_EXT

Definition at line 37 of file minus.h.

◆ RHS_TYPE

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

Definition at line 34 of file minus.h.

◆ STORAGE

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::STORAGE

Definition at line 35 of file minus.h.

Constructor & Destructor Documentation

◆ Minus_Vector_Vector()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::Minus_Vector_Vector ( const LHS_TYPE & lhs_,
const RHS_TYPE & rhs_ )
inline

Definition at line 39 of file minus.h.

References Rcpp::VectorBase< RTYPE, true, Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > >::get_ref(), lhs, and rhs.

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
STORAGE Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[] ( R_xlen_t i) const
inline

Definition at line 42 of file minus.h.

References Rcpp::traits::is_na(), lhs, RCPP_SAFE_SUB, and rhs.

Here is the call graph for this function:

◆ size()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
R_xlen_t Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::size ( ) const
inline

Definition at line 49 of file minus.h.

References lhs.

Member Data Documentation

◆ lhs

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
const LHS_EXT& Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs
private

Definition at line 52 of file minus.h.

Referenced by Minus_Vector_Vector(), operator[](), and size().

◆ rhs

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
const RHS_EXT& Rcpp::sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs
private

Definition at line 53 of file minus.h.

Referenced by Minus_Vector_Vector(), and operator[]().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/operators/minus.h