5 #ifndef BPP_NUMERIC_FUNCTION_ONEDIMENSIONOPTIMIZATIONTOOLS_H 6 #define BPP_NUMERIC_FUNCTION_ONEDIMENSIONOPTIMIZATIONTOOLS_H 9 #include "../../Io/OutputStream.h" 30 void set(
double x,
double f);
44 void setA(
double xa,
double fa);
45 void setB(
double xb,
double fb);
46 void setC(
double xc,
double fc);
95 static unsigned int lineMinimization(
96 std::shared_ptr<DirectionFunction> f1dim,
98 std::vector<double>& xi,
100 std::shared_ptr<OutputStream> profiler =
nullptr,
101 std::shared_ptr<OutputStream> messenger =
nullptr,
102 unsigned int verbose = 2);
116 static unsigned int lineSearch(
117 std::shared_ptr<DirectionFunction> f1dim,
119 std::vector<double>& xi,
120 std::vector<double>& gradient,
121 std::shared_ptr<OutputStream> profiler =
nullptr,
122 std::shared_ptr<OutputStream> messenger =
nullptr,
123 unsigned int verbose = 2);
132 #endif // BPP_NUMERIC_FUNCTION_ONEDIMENSIONOPTIMIZATIONTOOLS_H
This is the function abstract class.
The parameter list object.
BracketPoint(double xval, double fval)