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

Method P3

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

Source from the content-addressed store, hash-verified

198 typedef double (*FunPtr)(double,double,double,double,int,int) ;
199
200 P3( FunPtr ptr_, const VEC_TYPE& vec_, double p0_, double p1_, double p2_,
201 bool lower_tail = true, bool log_ = false ) :
202 ptr(ptr_), vec(vec_), p0(p0_), p1(p1_), p2(p2_), lower(lower_tail), log(log_) {}
203
204 inline double operator[]( int i) const {
205 return ptr( vec[i], p0, p1, p2, lower, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected