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

Function find_max_single_variable

dlib/optimization/optimization_line_search.h:876–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874
875 template <typename funct>
876 double find_max_single_variable (
877 const funct& f,
878 double& starting_point,
879 const double begin = -1e200,
880 const double end = 1e200,
881 const double eps = 1e-3,
882 const long max_iter = 100,
883 const double initial_search_radius = 1
884 )
885 {
886 return -find_min_single_variable(negate_function(f), starting_point, begin, end, eps, max_iter, initial_search_radius);
887 }
888
889// ----------------------------------------------------------------------------------------
890

Calls 2

find_min_single_variableFunction · 0.85
negate_functionFunction · 0.85

Tested by 1