| 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 ); |
nothing calls this directly
no outgoing calls
no test coverage detected