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

Method D2

inst/include/Rcpp/stats/dpq/dpq.h:81–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 typedef double (*FunPtr)(double,double,double,int) ;
80
81 D2( FunPtr ptr_, const VEC_TYPE& vec_, double p0_, double p1_ , bool log_) :
82 ptr(ptr_), vec(vec_), p0(p0_), p1(p1_), log(log_) {}
83
84 inline double operator[]( int i) const {
85 return ptr( vec[i], p0, p1, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected