Home | History | Annotate | Download | only in ceres

Lines Matching refs:optimal_x

250   double optimal_x = 0.0;
254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
257 EXPECT_LE(optimal_x, max_x);
258 EXPECT_GE(optimal_x, min_x);
268 double optimal_x = 0.0;
272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
274 EXPECT_EQ(optimal_x, 0.0);
288 double optimal_x = 0.0;
292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
293 EXPECT_EQ(optimal_x, 3.0/2.0);
298 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
299 EXPECT_EQ(optimal_x, 1.0);
304 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
305 EXPECT_EQ(optimal_x, 2.0);