Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WinVector/Logistic
/ eval
Method
eval
test/com/winvector/opt/imp/TestOpt.java:25–29 ·
view source on GitHub ↗
(final double x)
Source
from the content-addressed store, hash-verified
23
}
24
25
@Override
26
public
double eval(
final
double x) {
27
final
double diff = x - x0;
28
return
sign*diff*diff;
29
}
30
}
31
32
public
void
testLinMax() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected