ROOT 6.08/07 Reference Guide |
#include "Math/Polynomial.h"
#include "Math/Functor.h"
#include "Math/RootFinder.h"
#include "Math/RootFinderAlgorithms.h"
#include <iostream>
Classes | |
class | TStopwatch |
Stopwatch class. More... | |
Typedefs | |
typedef double(* | FP) (double, void *) |
Functions | |
template<class RF > | |
int | findRoot (RF *r) |
int | main () |
double | myfunc (double x) |
double | myfunc_deriv (double x) |
double | myfunc_deriv_gsl (double x, void *) |
void | myfunc_fdf (double x, void *, double *y, double *dy) |
double | myfunc_gsl (double x, void *) |
template<class RF > | |
int | printStats (RF *r, int returnCode, TStopwatch &timer) |
int | testGSLRootFinder () |
Variables | |
const double | absTol = 1E-3 |
const int | iterTest = 10000 |
int | myfuncCalls = 0 |
typedef double( * FP) (double, void *) |
Definition at line 21 of file testGSLRootFinder.cxx.
int findRoot | ( | RF * | r | ) |
Definition at line 51 of file testGSLRootFinder.cxx.
int main | ( | ) |
Definition at line 175 of file testGSLRootFinder.cxx.
double myfunc | ( | double | x | ) |
Definition at line 29 of file testGSLRootFinder.cxx.
double myfunc_deriv | ( | double | x | ) |
Definition at line 38 of file testGSLRootFinder.cxx.
double myfunc_deriv_gsl | ( | double | x, |
void * | |||
) |
Definition at line 41 of file testGSLRootFinder.cxx.
Definition at line 45 of file testGSLRootFinder.cxx.
double myfunc_gsl | ( | double | x, |
void * | |||
) |
Definition at line 34 of file testGSLRootFinder.cxx.
int printStats | ( | RF * | r, |
int | returnCode, | ||
TStopwatch & | timer | ||
) |
Definition at line 60 of file testGSLRootFinder.cxx.
int testGSLRootFinder | ( | ) |
Definition at line 79 of file testGSLRootFinder.cxx.
const double absTol = 1E-3 |
Definition at line 26 of file testGSLRootFinder.cxx.
const int iterTest = 10000 |
Definition at line 23 of file testGSLRootFinder.cxx.
int myfuncCalls = 0 |
Definition at line 24 of file testGSLRootFinder.cxx.