Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

HaMinimizer Class Reference

Class to minimize a function of multiple variables. More...

#include <halinalg.h>

Inheritance diagram for HaMinimizer:

List of all members.

Public Member Functions

int GetNVar ()
 Get the number of independent variables.

void SetNVar (int nvar)
 Set the number of independent variables.

int SetInitPoint (HaVec_double &init_pt)
 Set Initial Point.

virtual int CalcValGrad (HaVec_double &x, double &val, HaVec_double &grad)
 calc minimized fun value and gradient

int Minimize ()
 minimize function


Public Attributes

int min_method
HaVec_double vvar
 value of indep variable vector

HaVec_double scale
 vector values set to about 10% of expected changes of var in minimization

double fun_val
 minimized value of the function

int nitr
double flast
HaVec_double glast

Detailed Description

Class to minimize a function of multiple variables.


Member Function Documentation

int HaMinimizer::SetInitPoint HaVec_double init_pt  ) 
 

Set Initial Point.

Parameters:
init_pt  Set Initial Point


The documentation for this class was generated from the following files:
Generated on Tue Feb 17 02:03:18 2004 for harlem by doxygen 1.3.6