#include <TooN/functions/derivatives.h>
#include <TooN/TooN.h>
#include <vector>
#include <cmath>
Go to the source code of this file.
Functions | |
double | f (const Vector< 2 > &x) |
Vector< 2 > | grad (const Vector< 2 > &x) |
Matrix< 2 > | hess (const Vector< 2 > &x) |
int | main () |
template<int N> | |
ostream & | operator<< (ostream &o, const pair< Matrix< N >, Matrix< N > > &m) |
double f | ( | const Vector< 2 > & | x | ) |
Definition at line 6 of file deriv_test.cc.
Definition at line 11 of file deriv_test.cc.
Definition at line 16 of file deriv_test.cc.
int main | ( | ) |
Definition at line 29 of file deriv_test.cc.
ostream& operator<< | ( | ostream & | o, | |
const pair< Matrix< N >, Matrix< N > > & | m | |||
) | [inline] |
Definition at line 23 of file deriv_test.cc.