Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnLineSearch Class Reference

Implements a 1-dimensional minimization along a given direction (i.e.

quadratic interpolation) It is independent of the algorithm that generates the direction vector. It brackets the 1-dimensional Minimum and iterates to approach the real Minimum of the n-dimensional function.

Author
Fred James and Matthias Winkler; comments added by Andras Zsenei and Lorenzo Moneta

Definition at line 40 of file MnLineSearch.h.

Public Member Functions

 MnLineSearch ()
 
 ~MnLineSearch ()
 
MnParabolaPoint operator() (const MnFcn &, const MinimumParameters &, const MnAlgebraicVector &, double, const MnMachinePrecision &) const
 Perform a line search from position defined by the vector st along the direction step, where the length of vector step gives the expected position of Minimum.
 

#include <Minuit2/MnLineSearch.h>

Constructor & Destructor Documentation

◆ MnLineSearch()

ROOT::Minuit2::MnLineSearch::MnLineSearch ( )
inline

Definition at line 43 of file MnLineSearch.h.

◆ ~MnLineSearch()

ROOT::Minuit2::MnLineSearch::~MnLineSearch ( )
inline

Definition at line 45 of file MnLineSearch.h.

Member Function Documentation

◆ operator()()

MnParabolaPoint ROOT::Minuit2::MnLineSearch::operator() ( const MnFcn fcn,
const MinimumParameters st,
const MnAlgebraicVector step,
double  gdel,
const MnMachinePrecision prec 
) const

Perform a line search from position defined by the vector st along the direction step, where the length of vector step gives the expected position of Minimum.

fcn is Value of function at the starting position , gdel (if non-zero) is df/dx along step at st. Return a parabola point containing Minimum x position and y (function Value)

  • add a flag to control the debug

Definition at line 46 of file MnLineSearch.cxx.


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