Home
last modified time | relevance | path

Searched refs:optimal_value (Results 1 – 3 of 3) sorted by relevance

/external/ceres-solver/internal/ceres/
Dpolynomial.cc276 double* optimal_value) { in MinimizePolynomial() argument
283 *optimal_value = EvaluatePolynomial(polynomial, *optimal_x); in MinimizePolynomial()
286 if (x_min_value < *optimal_value) { in MinimizePolynomial()
287 *optimal_value = x_min_value; in MinimizePolynomial()
292 if (x_max_value < *optimal_value) { in MinimizePolynomial()
293 *optimal_value = x_max_value; in MinimizePolynomial()
319 if (value < *optimal_value) { in MinimizePolynomial()
320 *optimal_value = value; in MinimizePolynomial()
376 double* optimal_value) { in MinimizeInterpolatingPolynomial() argument
378 MinimizePolynomial(polynomial, x_min, x_max, optimal_x, optimal_value); in MinimizeInterpolatingPolynomial()
[all …]
Dpolynomial_test.cc251 double optimal_value = 0.0; in TEST() local
254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
256 EXPECT_EQ(optimal_value, 1.0); in TEST()
269 double optimal_value = 0.0; in TEST() local
272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
275 EXPECT_EQ(optimal_value, 2.0); in TEST()
289 double optimal_value = 0.0; in TEST() local
292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
294 EXPECT_EQ(optimal_value, -1.0/4.0); in TEST()
298 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
[all …]
Dpolynomial.h84 double* optimal_value);
130 double* optimal_value);