Home | History | Annotate | Download | only in NonLinearOptimization

Lines Matching full:ratio

120     Scalar ratio;
298 /* compute the ratio of the actual to the predicted */
300 ratio = 0.;
302 ratio = actred / prered;
305 if (ratio <= Scalar(.25)) {
315 } else if (!(par != 0. && ratio < Scalar(.75))) {
321 if (ratio >= Scalar(1e-4)) {
332 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
334 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
349 } while (ratio < Scalar(1e-4));
548 /* compute the ratio of the actual to the predicted */
550 ratio = 0.;
552 ratio = actred / prered;
555 if (ratio <= Scalar(.25)) {
565 } else if (!(par != 0. && ratio < Scalar(.75))) {
571 if (ratio >= Scalar(1e-4)) {
582 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
584 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
592 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
599 } while (ratio < Scalar(1e-4));