Skip to content
Snippets Groups Projects
Commit 6c31d2f1 authored by Kevin Höllring's avatar Kevin Höllring
Browse files

Fix missing return statements

parent 729e8a04
No related branches found
No related tags found
No related merge requests found
#include "optimizer.h"
using namespace numerics;
/*
For an explanation on what the three methods do see the exercise sheet, your
lecture notes as well as the internet :)
......@@ -7,14 +8,19 @@
Coordinate<double>
GradientDescent::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start, double precision) const {}
Coordinate<double>& start, double precision) const {
return start;
}
Coordinate<double>
GradientRootfinder::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start,
double precision) const {}
double precision) const {
return start;
}
Coordinate<double>
ConjugateGradient::optimize(Function<Coordinate<double>, double>& func,
Coordinate<double>& start, double precision) const {
return start;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment