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

Method D3

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

Source from the content-addressed store, hash-verified

101 typedef double (*FunPtr)(double,double,double,double,int) ;
102
103 D3( FunPtr ptr_, const VEC_TYPE& vec_, double p0_, double p1_, double p2_ , bool log_ ) :
104 ptr(ptr_), vec(vec_), p0(p0_), p1(p1_), p2(p2_), log(log_) {}
105
106 inline double operator[]( int i) const {
107 return ptr( vec[i], p0, p1, p2, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected