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

Method D1

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

Source from the content-addressed store, hash-verified

57 typedef double (*FunPtr)(double,double,int) ;
58
59 D1( FunPtr ptr_, const VEC_TYPE& vec_, double p0_ , bool log_) :
60 ptr(ptr_), vec(vec_), p0(p0_), log(log_) {}
61
62 inline double operator[]( int i) const {
63 return ptr( vec[i], p0, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected