Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ operator()
Method
operator()
dlib/optimization/optimization.h:119–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
117
118
template <typename T>
119
double operator() (
120
const T& x
121
) const
122
{
123
return f(clamp(x,x_lower,x_upper));
124
}
125
126
const funct& f;
127
const matrix_exp<EXP1>& x_lower;
Callers
nothing calls this directly
Calls
2
clamp
Function · 0.85
f
Function · 0.50
Tested by
no test coverage detected