|
Bsoft 2.1.4
Bernard's software package
|
Nelder and Mead downhill simplex method for generalized parameter fitting. More...
#include "utilities.h"Classes | |
| class | Bsimplex |
| Structure used in the downhill simplex method. More... | |
Macros | |
| #define | _Bsimplex_ |
Nelder and Mead downhill simplex method for generalized parameter fitting.
Adapted from Numerical Recipes, 2nd edition, Press et al. 1992
The function "funk" is user-defined and references the "Bsimplex" structure.
It returns the "R" value and is called as:
double R = (funk)(simplex_struct);
| #define _Bsimplex_ |