Skip to content
Snippets Groups Projects
Select Git revision
  • 8dda6192deb9bae79a91c71f8325c37b090e5512
  • master default protected
2 results

optimizer.cpp

Blame
  • 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;
    }