Lines Matching refs:gradient
59 const double gradient) { in ValueAndGradientSample() argument
63 sample.gradient = gradient; in ValueAndGradientSample()
261 ? ¤t.gradient : NULL); in Search()
311 ? ¤t.gradient : NULL); in Search()
486 ¤t.gradient); in BracketingPhase()
495 * initial_position.gradient in BracketingPhase()
513 fabs(current.gradient) <= in BracketingPhase()
514 -options().sufficient_curvature_decrease * initial_position.gradient) { in BracketingPhase()
526 } else if (current.value_is_valid && current.gradient >= 0) { in BracketingPhase()
622 ¤t.gradient); in BracketingPhase()
673 if (bracket_low.gradient * (bracket_high.x - bracket_low.x) >= 0) { in ZoomPhase()
690 bracket_low.gradient * (bracket_high.x - bracket_low.x), in ZoomPhase()
769 &solution->gradient); in ZoomPhase()
790 * initial_position.gradient in ZoomPhase()
800 if (fabs(solution->gradient) <= in ZoomPhase()
801 -options().sufficient_curvature_decrease * initial_position.gradient) { in ZoomPhase()
809 } else if (solution->gradient * (bracket_high.x - bracket_low.x) >= 0) { in ZoomPhase()