#include <TooN/optimization/golden_section.h>
#include <TooN/TooN.h>
#include <limits>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <TooN/optimization/brent.h>
#include <utility>
#include <cassert>
#include <iostream>
Go to the source code of this file.
Functions | |
int | main () |
double | Rosenbrock (const Vector< 2 > &v) |
Vector< 2 > | RosenbrockDerivatives (const Vector< 2 > &v) |
double | Spiral (const Vector< 2 > &v) |
Vector< 2 > | SpiralDerivatives (const Vector< 2 > &v) |
double | sq (double d) |
Variables | |
int | evals = 0 |
int main | ( | ) |
Definition at line 56 of file cg_test.cc.
double Rosenbrock | ( | const Vector< 2 > & | v | ) |
Definition at line 16 of file cg_test.cc.
Definition at line 21 of file cg_test.cc.
double Spiral | ( | const Vector< 2 > & | v | ) |
Definition at line 35 of file cg_test.cc.
Definition at line 45 of file cg_test.cc.
double sq | ( | double | d | ) |
Definition at line 11 of file cg_test.cc.
int evals = 0 |
Definition at line 33 of file cg_test.cc.