Home | History | Annotate | Download | only in ceres

Lines Matching full:previous

43   bool NextDirection(const LineSearchMinimizer::State& previous,
59 bool NextDirection(const LineSearchMinimizer::State& previous,
66 beta = current.gradient_squared_norm / previous.gradient_squared_norm;
69 gradient_change = current.gradient - previous.gradient;
71 previous.gradient_squared_norm);
74 gradient_change = current.gradient - previous.gradient;
76 previous.search_direction.dot(gradient_change));
82 *search_direction = -current.gradient + beta * previous.search_direction;
111 bool NextDirection(const LineSearchMinimizer::State& previous,
120 previous.search_direction * previous.step_size,
121 current.gradient - previous.gradient);
166 bool NextDirection(const LineSearchMinimizer::State& previous,
174 const Vector delta_x = previous.search_direction * previous.step_size;
175 const Vector delta_gradient = current.gradient - previous.gradient;