MCPcopy Create free account
hub / github.com/davisking/dlib / brown

Function brown

dlib/test/optimization_test_functions.cpp:290–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 // ----------------------------------------------------------------------------------------
289
290 double brown ( const matrix<double,4,1>& x)
291 {
292 double f;
293 int i;
294
295 f = 0;
296
297 for (i = 1; i <= 20; ++i)
298 {
299 f += std::pow(brown_residual(i, x), 2);
300 }
301
302 return f;
303 }
304
305 // ----------------------------------------------------------------------------------------
306

Callers 4

test_problemsFunction · 0.85
test_bound_solver_brownFunction · 0.85
test_with_brownFunction · 0.85
operator()Method · 0.85

Calls 1

brown_residualFunction · 0.85

Tested by

no test coverage detected