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

Method P1

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

Source from the content-addressed store, hash-verified

150 typedef double (*FunPtr)(double,double,int,int) ;
151
152 P1( FunPtr ptr_, const VEC_TYPE& vec_, double p0_,
153 bool lower_tail = true, bool log_ = false ) :
154 ptr(ptr_), vec(vec_), p0(p0_), lower(lower_tail), log(log_) {}
155
156 inline double operator[]( int i) const {
157 return ptr( vec[i], p0, lower, log );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected