Lines Matching full:ratio
108 Scalar ratio;
266 /* compute the ratio of the actual to the predicted reduction. */
267 ratio = 0.;
269 ratio = actred / prered;
272 if (ratio < Scalar(.1)) {
279 if (ratio >= Scalar(.5) || ncsuc > 1)
281 if (abs(ratio - 1.) <= Scalar(.1)) {
287 if (ratio >= Scalar(1e-4)) {
328 if (ratio >= Scalar(1e-4))
509 /* compute the ratio of the actual to the predicted reduction. */
510 ratio = 0.;
512 ratio = actred / prered;
515 if (ratio < Scalar(.1)) {
522 if (ratio >= Scalar(.5) || ncsuc > 1)
524 if (abs(ratio - 1.) <= Scalar(.1)) {
530 if (ratio >= Scalar(1e-4)) {
571 if (ratio >= Scalar(1e-4))