Searched refs:num_trials (Results 1 – 2 of 2) sorted by relevance
56 double RequiredSuccessProbability(double p_fail, int num_trials);
397 double RequiredSuccessProbability(const double p_fail, const int num_trials) { in RequiredSuccessProbability() argument398 double p = std::exp(std::log(1.0 - p_fail) / static_cast<double>(num_trials)); in RequiredSuccessProbability()