Rcpp Version 0.12.12
Rcpp::sugar::WhichMin< RTYPE, false, T > Class Template Reference

#include <which_min.h>

Collaboration diagram for Rcpp::sugar::WhichMin< RTYPE, false, T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, false, T > VEC_TYPE
 
typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 

Public Member Functions

 WhichMin (const VEC_TYPE &obj_)
 
R_xlen_t get () const
 

Private Attributes

const VEC_TYPEobj
 

Detailed Description

template<int RTYPE, typename T>
class Rcpp::sugar::WhichMin< RTYPE, false, T >

Definition at line 58 of file which_min.h.

Member Typedef Documentation

template<int RTYPE, typename T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::WhichMin< RTYPE, false, T >::STORAGE

Definition at line 61 of file which_min.h.

template<int RTYPE, typename T >
typedef Rcpp::VectorBase<RTYPE,false,T> Rcpp::sugar::WhichMin< RTYPE, false, T >::VEC_TYPE

Definition at line 60 of file which_min.h.

Constructor & Destructor Documentation

template<int RTYPE, typename T >
Rcpp::sugar::WhichMin< RTYPE, false, T >::WhichMin ( const VEC_TYPE obj_)
inline

Definition at line 62 of file which_min.h.

Member Function Documentation

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::WhichMin< RTYPE, false, T >::get ( ) const
inline

Definition at line 64 of file which_min.h.

References Rcpp::min(), Rcpp::sugar::WhichMin< RTYPE, NA, T >::obj, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE, typename T >
const VEC_TYPE& Rcpp::sugar::WhichMin< RTYPE, false, T >::obj
private

Definition at line 80 of file which_min.h.


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