Logo ROOT   6.10/09
Reference Guide
TFit.hxx
Go to the documentation of this file.
1 /// \file ROOT/TFit.h
2 /// \ingroup MathCore ROOT7
3 /// \author Axel Naumann <axel@cern.ch>
4 /// \date 2015-09-06
5 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
6 
7 /*************************************************************************
8  * Copyright (C) 1995-2015, Rene Brun and Fons Rademakers. *
9  * All rights reserved. *
10  * *
11  * For the licensing terms see $ROOTSYS/LICENSE. *
12  * For the list of contributors see $ROOTSYS/README/CREDITS. *
13  *************************************************************************/
14 
15 #ifndef ROOT_TFit
16 #define ROOT_TFit
17 
18 #include <array>
19 #include <functional>
20 
21 #include "ROOT/RArrayView.h"
22 
23 #include "ROOT/THist.hxx"
24 
25 namespace ROOT {
26 namespace Experimental {
27 
28 class TFitResult {
29 
30 };
31 
32 template <int DIMENSION>
33 class TFunction {
34 public:
35  TFunction(std::function<double (const std::array<double, DIMENSION>&,
36  const std::array_view<double>& par)> func) {}
37 };
38 
39 template<int DIMENSIONS, class PRECISION,
40  template <int D_, class P_, template <class P__> class S_> class... STAT>
43  std::array_view<double> paramInit){
44  return TFitResult();
45 }
46 
47 } // namespace Experimental
48 } // namespace ROOT
49 
50 #endif
double par[1]
Definition: unuranDistr.cxx:38
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
#define PRECISION
Definition: MnPrint.cxx:26
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
Definition: RExports.h:146
TFitResult FitTo(const THist< DIMENSIONS, PRECISION, STAT... > &hist, const TFunction< DIMENSIONS > &func, std::array_view< double > paramInit)
Definition: TFit.hxx:41
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
Definition: THist.hxx:33
double func(double *x, double *p)
Definition: stressTF1.cxx:213
TFunction(std::function< double(const std::array< double, DIMENSION > &, const std::array_view< double > &par)> func)
Definition: TFit.hxx:35