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

Function F

tools/python/test/test_global_optimization.py:28–29  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

26
27
28def F(a,b):
29 return -pow(a-2,2.0) - pow(b-4,2.0);
30def G(x):
31 return 2-pow(x-5,2.0);
32

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected