HepLib
Public Types | Public Member Functions | Public Attributes | List of all members
HepLib::SD::MinimizeBase Class Referenceabstract

base for class to minimize a function More...

#include <SD.h>

Inheritance diagram for HepLib::SD::MinimizeBase:
Inheritance graph
[legend]

Public Types

typedef dREAL(* FunctionType) (int nvars, dREAL *x, dREAL *pl, dREAL *las)
 

Public Member Functions

virtual dREAL FindMinimum (int nvars, FunctionType func, dREAL *PL=NULL, dREAL *las=NULL, dREAL *UB=NULL, dREAL *LB=NULL, dREAL *IP=NULL, bool compare0=false, int TryPTS=0, int SavePTS=0)=0
 
virtual void Minimize (int nvars, FunctionType func, dREAL *ip)=0
 
virtual void ForceStop ()=0
 

Public Attributes

dREAL ZeroValue = -1E-20
 

Detailed Description

base for class to minimize a function

Definition at line 268 of file SD.h.

Member Typedef Documentation

◆ FunctionType

typedef dREAL(* HepLib::SD::MinimizeBase::FunctionType) (int nvars, dREAL *x, dREAL *pl, dREAL *las)

Definition at line 270 of file SD.h.

Member Function Documentation

◆ FindMinimum()

virtual dREAL HepLib::SD::MinimizeBase::FindMinimum ( int  nvars,
FunctionType  func,
dREAL PL = NULL,
dREAL las = NULL,
dREAL UB = NULL,
dREAL LB = NULL,
dREAL IP = NULL,
bool  compare0 = false,
int  TryPTS = 0,
int  SavePTS = 0 
)
pure virtual

Implemented in HepLib::SD::HookeJeeves.

◆ ForceStop()

virtual void HepLib::SD::MinimizeBase::ForceStop ( )
pure virtual

Implemented in HepLib::SD::HookeJeeves.

◆ Minimize()

virtual void HepLib::SD::MinimizeBase::Minimize ( int  nvars,
FunctionType  func,
dREAL ip 
)
pure virtual

Implemented in HepLib::SD::HookeJeeves.

Member Data Documentation

◆ ZeroValue

dREAL HepLib::SD::MinimizeBase::ZeroValue = -1E-20

Definition at line 272 of file SD.h.


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