MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / WhichMin

Method WhichMin

inst/include/Rcpp/sugar/functions/which_min.h:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 typedef typename Rcpp::VectorBase<RTYPE,NA,T> VEC_TYPE ;
32 typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ;
33 WhichMin(const VEC_TYPE& obj_ ) : obj(obj_){}
34
35 R_xlen_t get() const {
36 STORAGE current = obj[0] ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected