Lines Matching refs:ratio
120 Scalar ratio;
295 /* compute the ratio of the actual to the predicted */
297 ratio = 0.;
299 ratio = actred / prered;
302 if (ratio <= Scalar(.25)) {
312 } else if (!(par != 0. && ratio < Scalar(.75))) {
318 if (ratio >= Scalar(1e-4)) {
329 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
331 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
339 if (internal::abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
346 } while (ratio < Scalar(1e-4));
542 /* compute the ratio of the actual to the predicted */
544 ratio = 0.;
546 ratio = actred / prered;
549 if (ratio <= Scalar(.25)) {
559 } else if (!(par != 0. && ratio < Scalar(.75))) {
565 if (ratio >= Scalar(1e-4)) {
576 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
578 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
586 if (internal::abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
593 } while (ratio < Scalar(1e-4));