Select Git revision
optimizer.cpp
-
Kevin Höllring authoredKevin Höllring authored
optimizer.cpp 1.05 KiB
#include "optimizer.h"
using namespace numerics;
/*
For an explanation on what the three methods do, see the exercise sheet, your
lecture notes, the header file as well as possibly the Internet :)
*/
Coordinate<double>
GradientDescent::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start, double precision) const {
// TODO Problem 1
return start;
}
Coordinate<double>
GradientRootfinder::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start,
double precision) const {
// TODO Problem 2
return start;
}
Coordinate<double>
ConjugateGradient::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start, double precision) const {
// TODO Problem 3
return start;
}
Coordinate<double>
ConjugateGradient::CGstep(Function<Coordinate<double>, double>& func,
Coordinate<double>& start, double precision) const {
// TODO Problem 3
return start;
}