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

Function sum

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

Source from the content-addressed store, hash-verified

96
97template <bool NA, typename T>
98inline sugar::Sum<INTSXP,NA,T> sum( const VectorBase<INTSXP,NA,T>& t){
99 return sugar::Sum<INTSXP,NA,T>( t ) ;
100}
101
102template <bool NA, typename T>
103inline sugar::Sum<REALSXP,NA,T> sum( const VectorBase<REALSXP,NA,T>& t){

Callers 1

na_omit_implFunction · 0.70

Calls 1

Sum<REALSXP,NA,T>Class · 0.85

Tested by

no test coverage detected