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

Method SugarComplex

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

Source from the content-addressed store, hash-verified

37 typedef Rcpp::VectorBase<CPLXSXP,NA,T> VEC_TYPE ;
38
39 SugarComplex( FunPtr ptr_, const VEC_TYPE & vec_) : ptr(ptr_), vec(vec_){}
40
41 inline RESULT_TYPE operator[]( R_xlen_t i) const {
42 Rcomplex x = vec[i] ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected