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

#include <pmin.h>

Inheritance diagram for Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >:
Collaboration diagram for Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >:

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
typedef pmin_op_Vector_Primitive< RTYPE, LHS_NA > OPERATOR
Public Types inherited from Rcpp::VectorBase< RTYPE, true, Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_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

 Pmin_Vector_Primitive (const LHS_T &lhs_, STORAGE rhs_)
STORAGE operator[] (R_xlen_t i) const
R_xlen_t size () const
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T > >
Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_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_T & lhs
OPERATOR op

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T>
class Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >

Definition at line 127 of file pmin.h.

Member Typedef Documentation

◆ OPERATOR

template<int RTYPE, bool LHS_NA, typename LHS_T>
typedef pmin_op_Vector_Primitive<RTYPE,LHS_NA> Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::OPERATOR

Definition at line 134 of file pmin.h.

◆ STORAGE

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

Definition at line 133 of file pmin.h.

Constructor & Destructor Documentation

◆ Pmin_Vector_Primitive()

template<int RTYPE, bool LHS_NA, typename LHS_T>
Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::Pmin_Vector_Primitive ( const LHS_T & lhs_,
STORAGE rhs_ )
inline

Definition at line 136 of file pmin.h.

References lhs, and op.

Member Function Documentation

◆ operator[]()

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

Definition at line 138 of file pmin.h.

References lhs, and op.

◆ size()

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

Definition at line 139 of file pmin.h.

References lhs.

Member Data Documentation

◆ lhs

template<int RTYPE, bool LHS_NA, typename LHS_T>
const LHS_T& Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::lhs
private

Definition at line 142 of file pmin.h.

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

◆ op

template<int RTYPE, bool LHS_NA, typename LHS_T>
OPERATOR Rcpp::sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::op
private

Definition at line 143 of file pmin.h.

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


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