Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
MinimumParameters.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_MinimumParameters
11#define ROOT_Minuit2_MinimumParameters
12
13#include "Minuit2/MnMatrix.h"
14
15#include <memory>
16
17namespace ROOT {
18
19namespace Minuit2 {
20
22
23public:
24
29
30 MinimumParameters(unsigned int n, double fval = 0)
32 {
33 }
34
35 // constructor for case when function has no parameter and only function value
38 {}
39
40
41 /** takes the Parameter vector */
46
47 /** takes the Parameter vector plus step size x1 - x0 = dirin */
52
53 const MnAlgebraicVector &Vec() const { return fPtr->fParameters; }
54 const MnAlgebraicVector &Dirin() const { return fPtr->fStepSize; }
55 double Fval() const { return fPtr->fFVal; }
56 bool IsValid() const { return fPtr->fValid; }
57 bool HasStepSize() const { return fPtr->fHasStep; }
58
59private:
67
68 std::shared_ptr<Data> fPtr;
69};
70
71} // namespace Minuit2
72
73} // namespace ROOT
74
75#endif // ROOT_Minuit2_MinimumParameters
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
const MnAlgebraicVector & Dirin() const
MinimumParameters(const MnAlgebraicVector &avec, double fval)
takes the Parameter vector
MinimumParameters(unsigned int n, double fval=0)
MinimumParameters(double fval, Status status)
MinimumParameters(const MnAlgebraicVector &avec, const MnAlgebraicVector &dirin, double fval)
takes the Parameter vector plus step size x1 - x0 = dirin
const MnAlgebraicVector & Vec() const
const Int_t n
Definition legend1.C:16
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...