Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MnFunctionCross.h
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10#ifndef ROOT_Minuit2_MnFunctionCross
11#define ROOT_Minuit2_MnFunctionCross
12
13#include "Minuit2/MnConfig.h"
14
15#include <ROOT/RSpan.hxx>
16
17#include <vector>
18
19namespace ROOT {
20
21namespace Minuit2 {
22
23class FCNBase;
24class MnUserParameterState;
25class MnStrategy;
26class MnCross;
27
28/**
29 MnFunctionCross
30*/
31
33
34public:
35 MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
36 : fFCN(fcn), fState(state), fFval(fval), fStrategy(stra)
37 {
38 }
39
41
42 MnCross operator()(std::span<const unsigned int> , std::span<const double>, std::span<const double>,
43 double, unsigned int) const;
44
45private:
46 const FCNBase &fFCN;
48 double fFval;
50};
51
52} // namespace Minuit2
53
54} // namespace ROOT
55
56#endif // ROOT_Minuit2_MnFunctionCross
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition FCNBase.h:51
MnCross operator()(std::span< const unsigned int >, std::span< const double >, std::span< const double >, double, unsigned int) const
MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
const MnUserParameterState & fState
API class for defining four levels of strategies: low (0), medium (1), high (2), very high (>=3); act...
Definition MnStrategy.h:27
class which holds the external user and/or internal Minuit representation of the parameters and error...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...