HessianGradientCalculator: class to calculate Gradient for Hessian.
Definition at line 30 of file HessianGradientCalculator.h.
#include <Minuit2/HessianGradientCalculator.h>
◆ HessianGradientCalculator()
◆ DeltaGradient()
◆ Fcn()
| const MnFcn & ROOT::Minuit2::HessianGradientCalculator::Fcn |
( |
| ) |
const |
|
inline |
◆ G2()
◆ Hessian()
◆ Ncycle()
| unsigned int ROOT::Minuit2::HessianGradientCalculator::Ncycle |
( |
| ) |
const |
◆ operator()() [1/2]
◆ operator()() [2/2]
◆ Precision()
◆ SetParallelOMP()
| bool ROOT::Minuit2::GradientCalculator::SetParallelOMP |
( |
bool | doParallel = true | ) |
|
|
staticinherited |
Enable parallelization of gradient calculation using OpenMP.
This is different from the default parallel mechanism elsewhere (IMT, threads, TBB, ...). It can only be used to minimise thread-safe functions in Minuit2.
- Parameters
-
| doParallel | true to enable, false to disable. |
- Note
- Enabling this function does not guarantee that the derived gradient calculator class has implemented a OMP-parallelized version of the code. For example, the numeric Hessian computation (HessianGradientCalculator) does not make any use of OpenMP, only Numerical2PGradientCalculator makes use of OMP pragmas at the moment.
-
If OPENMP is not available, i.e. ROOT was built without OpenMP support (minuit2_omp), and an error is printed if doParallel=true; parallelization is disabled in any case.
- Returns
- false if OPENMP is not available and doParallel=true, otherwise it returns true.
Definition at line 21 of file GradientCalculator.cxx.
◆ Strategy()
| const MnStrategy & ROOT::Minuit2::HessianGradientCalculator::Strategy |
( |
| ) |
const |
|
inline |
◆ Trafo()
◆ fDoParallelOMP
| bool ROOT::Minuit2::GradientCalculator::fDoParallelOMP = false |
|
inlinestaticprotectedinherited |
◆ fFcn
| const MnFcn& ROOT::Minuit2::HessianGradientCalculator::fFcn |
|
private |
◆ fStrategy
| const MnStrategy& ROOT::Minuit2::HessianGradientCalculator::fStrategy |
|
private |
◆ fTransformation
The documentation for this class was generated from the following files: