Searched refs:actred (Results 1 – 4 of 4) sorted by relevance
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
D | LMonestep.h | 27 RealScalar pnorm, xnorm, fnorm1, actred, dirder, prered; in minimizeOneStep() local 110 actred = -1.; in minimizeOneStep() 112 actred = 1. - numext::abs2(fnorm1 / m_fnorm); in minimizeOneStep() 126 ratio = actred / prered; in minimizeOneStep() 130 if (actred >= 0.) in minimizeOneStep() 132 if (actred < 0.) in minimizeOneStep() 133 temp = RealScalar(.5) * dirder / (dirder + RealScalar(.5) * actred); in minimizeOneStep() 156 …if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * x… in minimizeOneStep() 161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.) in minimizeOneStep() 178 …if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scala… in minimizeOneStep()
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
D | LevenbergMarquardt.h | 128 Scalar pnorm, xnorm, fnorm1, actred, dirder, prered; variable 293 actred = -1.; in minimizeOneStep() 295 actred = 1. - numext::abs2(fnorm1 / fnorm); in minimizeOneStep() 309 ratio = actred / prered; in minimizeOneStep() 313 if (actred >= 0.) in minimizeOneStep() 315 if (actred < 0.) in minimizeOneStep() 316 temp = Scalar(.5) * dirder / (dirder + Scalar(.5) * actred); in minimizeOneStep() 339 …if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && del… in minimizeOneStep() 341 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) in minimizeOneStep() 349 …if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scala… in minimizeOneStep() [all …]
|
D | HybridNonLinearSolver.h | 112 Scalar actred, prered; variable 255 actred = -1.; in solveOneStep() 257 actred = 1. - numext::abs2(fnorm1 / fnorm); in solveOneStep() 269 ratio = actred / prered; in solveOneStep() 299 if (actred >= Scalar(.001)) in solveOneStep() 303 if (actred >= Scalar(.1)) in solveOneStep() 498 actred = -1.; in solveNumericalDiffOneStep() 500 actred = 1. - numext::abs2(fnorm1 / fnorm); in solveNumericalDiffOneStep() 512 ratio = actred / prered; in solveNumericalDiffOneStep() 542 if (actred >= Scalar(.001)) in solveNumericalDiffOneStep() [all …]
|
/external/lmfit/lib/ |
D | lmmin.c | 128 double actred, dirder, fnorm, fnorm1, gnorm, pnorm, prered, ratio, step, in lmmin() local 433 actred = 1 - SQR(fnorm1 / fnorm); in lmmin() 436 ratio = prered ? actred / prered : 0; in lmmin() 453 if (actred >= 0) in lmmin() 455 else if (actred > -99) /* -99 = 1-1/0.1^2 */ in lmmin() 456 temp = MAX(dirder / (2*dirder + actred), 0.1); in lmmin() 498 if (fabs(actred) <= C->ftol && prered <= C->ftol && ratio <= 2) in lmmin() 511 if (fabs(actred) <= LM_MACHEP && prered <= LM_MACHEP && in lmmin()
|