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

Function clamp_function

dlib/optimization/optimization.h:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131 template <typename funct, typename EXP1, typename EXP2>
132 clamped_function_object<funct,EXP1,EXP2> clamp_function(
133 const funct& f,
134 const matrix_exp<EXP1>& x_lower,
135 const matrix_exp<EXP2>& x_upper
136 ) { return clamped_function_object<funct,EXP1,EXP2>(f,x_lower,x_upper); }
137
138// ----------------------------------------------------------------------------------------
139

Callers 2

find_min_box_constrainedFunction · 0.85
find_max_box_constrainedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected