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

Method Q2

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

Source from the content-addressed store, hash-verified

271 typedef double (*FunPtr)(double,double,double,int,int) ;
272
273 Q2( FunPtr ptr_, const VEC_TYPE& vec_, double p0_, double p1_,
274 bool lower_tail = true, bool log_ = false ) :
275 ptr(ptr_), vec(vec_), p0(p0_), p1(p1_), lower(lower_tail), log(log_) {}
276
277 inline double operator[]( int i) const {
278 return ptr( vec[i], p0, p1, lower, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected