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

Method Q1

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

Source from the content-addressed store, hash-verified

247 typedef double (*FunPtr)(double,double,int,int) ;
248
249 Q1( FunPtr ptr_, const VEC_TYPE& vec_, double p0_,
250 bool lower_tail = true, bool log_ = false ) :
251 ptr(ptr_), vec(vec_), p0(p0_), lower(lower_tail), log(log_) {}
252
253 inline double operator[]( int i) const {
254 return ptr( vec[i], p0, lower, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected