Gems3k
3.1
GEMS3K standalone solver for geochemical equilibria
|
Class for minimization of convex one parameter function ( f(x)=>0 ) Method of Gold Selection. More...
#include <num_methods.h>
Public Member Functions | |
GoldenSection (double x1, double x2, double xtol, double ftol, double(f_proc)(double val, double val2)) | |
Golden Selection in interval x1 to x2, to minimize function f_proc xtol, ftol tolerance for the parameter and function. | |
virtual double | calcFunction (double x, double y) |
virtual double | getMinimum (double val2=0) |
virtual double | getMinimumDat (GoldenSectionData dat, double val2) |
Method of Golden Section 1D and 2D (reimplemented) xstart, xend, xtol, parameter x - start, end, tolerance ftol function tolerance f_proc function to minimize ( f(x)=>0 ) | |
Protected Attributes | |
GoldenSectionData | dat1 |
double | Ftol |
minFunction | minF |
Class for minimization of convex one parameter function ( f(x)=>0 ) Method of Gold Selection.