Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ G
Function
G
tools/python/test/test_global_optimization.py:30–31 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
28
def
F(a,b):
29
return
-pow(a-2,2.0) - pow(b-4,2.0);
30
def
G(x):
31
return
2-pow(x-5,2.0);
32
33
def
test_global_function_search():
34
spec_F = dlib.function_spec([-10,-10], [10,10])
Callers
1
test_global_function_search
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected