npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
goldenSectionSearch.hh File Reference

Search for 1-d function minimum in log space using the golden section method. More...

#include "npstat/nm/SimpleFunctors.hh"
#include "npstat/nm/MinSearchStatus1D.hh"
#include "npstat/nm/goldenSectionSearch.icc"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Result , typename Arg1 >
bool npstat::goldenSectionSearchInLogSpace (const Functor1< Result, Arg1 > &f, const Arg1 &x0, double tol, Arg1 *minimum, Result *fmin=0, double logstep=0.5)
 
MinSearchStatus1D npstat::goldenSectionSearchOnAGrid (const Functor1< double, double > &f, const DualAxis &axis, unsigned i0, unsigned initialStep, unsigned *imin, double *fMinusOne, double *fmin, double *fPlusOne)
 

Detailed Description

Search for 1-d function minimum in log space using the golden section method.

Author: I. Volobouev

October 2011