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

Method Sum

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

Source from the content-addressed store, hash-verified

33 typedef typename Rcpp::traits::Extractor< RTYPE, NA, T>::type VEC_EXT ;
34
35 Sum( const VEC_TYPE& object_ ) : object(object_.get_ref()){}
36
37 STORAGE get() const {
38 STORAGE result = 0 ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected