ODIN
Public Member Functions | List of all members

#include <fitting.h>

Public Member Functions

 DownhillSimplex (MinimizationFunction &function)
 
 ~DownhillSimplex ()
 
bool get_minimum_parameters (fvector &result, const fvector &starting_point, const fvector &step_size, unsigned int max_iterations=DEFAULT_MAX_ITER, double tolerance=DEFAULT_TOLERANCE)
 

Detailed Description

downhill simplex optimizer

Definition at line 465 of file fitting.h.

Constructor & Destructor Documentation

◆ DownhillSimplex()

DownhillSimplex::DownhillSimplex ( MinimizationFunction function)

Construct downhill simplex optimizer

  • function: Function to evaluate/minimize

◆ ~DownhillSimplex()

DownhillSimplex::~DownhillSimplex ( )

Destructor

Member Function Documentation

◆ get_minimum_parameters()

bool DownhillSimplex::get_minimum_parameters ( fvector result,
const fvector starting_point,
const fvector step_size,
unsigned int  max_iterations = DEFAULT_MAX_ITER,
double  tolerance = DEFAULT_TOLERANCE 
)

Returns parameter values in 'result' which minimize attached 'function'

  • starting_point: Starting from this initial point
  • step_size: The size of the initial trial steps
  • ftol: Tolerannce
  • nmax: Max number of iterations Returns true on success.

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