Gems3k  3.1
GEMS3K standalone solver for geochemical equilibria
 All Classes Files Functions Variables Enumerations Enumerator
Public Member Functions | Protected Attributes
GoldenSection Class Reference

Class for minimization of convex one parameter function ( f(x)=>0 ) Method of Gold Selection. More...

#include <num_methods.h>

Inheritance diagram for GoldenSection:
GoldenSectionTwo

List of all members.

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

Detailed Description

Class for minimization of convex one parameter function ( f(x)=>0 ) Method of Gold Selection.


The documentation for this class was generated from the following files: