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

In case that one of the components of the second derivative g2 calculated by the numerical Gradient calculator is negative, a 1dim line search in the direction of that component is done in order to find a better position where g2 is again positive.

Definition at line 29 of file NegativeG2LineSearch.h.

Public Member Functions

 NegativeG2LineSearch ()
 
 ~NegativeG2LineSearch ()
 
bool HasNegativeG2 (const FunctionGradient &, const MnMachinePrecision &) const
 
MinimumState operator() (const MnFcn &, const MinimumState &, const GradientCalculator &, const MnMachinePrecision &) const
 

#include <Minuit2/NegativeG2LineSearch.h>

Constructor & Destructor Documentation

◆ NegativeG2LineSearch()

ROOT::Minuit2::NegativeG2LineSearch::NegativeG2LineSearch ( )
inline

Definition at line 32 of file NegativeG2LineSearch.h.

◆ ~NegativeG2LineSearch()

ROOT::Minuit2::NegativeG2LineSearch::~NegativeG2LineSearch ( )
inline

Definition at line 34 of file NegativeG2LineSearch.h.

Member Function Documentation

◆ HasNegativeG2()

bool ROOT::Minuit2::NegativeG2LineSearch::HasNegativeG2 ( const FunctionGradient grad,
const MnMachinePrecision  
) const

Definition at line 138 of file NegativeG2LineSearch.cxx.

◆ operator()()

MinimumState ROOT::Minuit2::NegativeG2LineSearch::operator() ( const MnFcn fcn,
const MinimumState st,
const GradientCalculator gc,
const MnMachinePrecision prec 
) const

Definition at line 26 of file NegativeG2LineSearch.cxx.


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