aimsalgo  5.0.5
Neuroimaging image processing
powell.h File Reference
#include <aims/optimization/optimizer.h>
#include <aims/optimization/objective.h>
#include <aims/vector/vector.h>
#include <algorithm>
#include <list>
#include <math.h>
Include dependency graph for powell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PowellOptimizer< T, D >
 

Macros

#define GOLD   1.618034
 
#define GLIMIT   100.0
 
#define TINY   1.0e-20
 
#define SIGN(a, b)   ( (b) >= 0.0 ? fabs( a ) : -fabs( a ) )
 
#define ITMAX   100
 
#define TOL   2.0e-4
 
#define ZEPS   1.0e-10
 
#define CGOLD   0.3819660
 
#define SQR(a)   ( ( a ) * ( a ) )
 

Macro Definition Documentation

◆ CGOLD

#define CGOLD   0.3819660

Definition at line 53 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ GLIMIT

#define GLIMIT   100.0

Definition at line 47 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ GOLD

#define GOLD   1.618034

Definition at line 46 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ ITMAX

#define ITMAX   100

Definition at line 50 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ SIGN

#define SIGN (   a,
 
)    ( (b) >= 0.0 ? fabs( a ) : -fabs( a ) )

Definition at line 49 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ SQR

#define SQR (   a)    ( ( a ) * ( a ) )

Definition at line 54 of file powell.h.

Referenced by PowellOptimizer< T, D >::doit().

◆ TINY

#define TINY   1.0e-20

Definition at line 48 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ TOL

#define TOL   2.0e-4

Definition at line 51 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().

◆ ZEPS

#define ZEPS   1.0e-10

Definition at line 52 of file powell.h.

Referenced by PowellOptimizer< T, D >::getCostEvolution().