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

Method SugarMath_1

inst/include/Rcpp/sugar/block/SugarMath.h:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 typedef Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits<RESULT_TYPE>::rtype ,NA,T1> VEC_TYPE ;
37
38 SugarMath_1( FunPtr ptr_, const VEC_TYPE & vec_) : ptr(ptr_), vec(vec_){}
39
40 inline RESULT_TYPE operator[]( R_xlen_t i) const {
41 U1 x = vec[i] ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected