Public Member Functions | List of all members

#include <fitting.h>

Public Member Functions

 DownhillSimplex (MinimizationFunction &function)
 ~DownhillSimplex ()
fvector get_minimum_parameters (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 464 of file fitting.h.

Constructor & Destructor Documentation

§ DownhillSimplex()

DownhillSimplex::DownhillSimplex ( MinimizationFunction function)

Construct downhill simplex optimizer

  • function: Function to evaluate/minimize

§ ~DownhillSimplex()

DownhillSimplex::~DownhillSimplex ( )


Member Function Documentation

§ get_minimum_parameters()

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

Returns parameter values which minimize function

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

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