Rcpp Version 1.0.9
|
#include <which_max.h>
Public Types | |
typedef Rcpp::VectorBase< RTYPE, NA, T > | VEC_TYPE |
typedef Rcpp::traits::storage_type< RTYPE >::type | STORAGE |
Public Member Functions | |
WhichMax (const VEC_TYPE &obj_) | |
R_xlen_t | get () const |
Private Attributes | |
const VEC_TYPE & | obj |
Definition at line 29 of file which_max.h.
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::WhichMax< RTYPE, NA, T >::STORAGE |
Definition at line 32 of file which_max.h.
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::WhichMax< RTYPE, NA, T >::VEC_TYPE |
Definition at line 31 of file which_max.h.
|
inline |
Definition at line 33 of file which_max.h.
|
inline |
Definition at line 35 of file which_max.h.
References Rcpp::min(), Rcpp::sugar::WhichMax< RTYPE, NA, T >::obj, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().
Referenced by Rcpp::which_max().
|
private |
Definition at line 53 of file which_max.h.
Referenced by Rcpp::sugar::WhichMax< RTYPE, NA, T >::get(), and Rcpp::sugar::WhichMax< RTYPE, false, T >::get().