Logo ROOT   6.16/01
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
6/// is welcome!
7
8/*************************************************************************
9 * Copyright (C) 1995-2015, Rene Brun and Fons Rademakers. *
10 * All rights reserved. *
11 * *
12 * For the licensing terms see $ROOTSYS/LICENSE. *
13 * For the list of contributors see $ROOTSYS/README/CREDITS. *
14 *************************************************************************/
15
16#ifndef ROOT_TFit
17#define ROOT_TFit
18
19#include <array>
20#include <functional>
21
22#include "ROOT/RSpan.hxx"
23
24#include "ROOT/RHist.hxx"
25
26namespace ROOT {
27namespace Experimental {
28
30};
31
32template <int DIMENSION>
33class TFunction {
34public:
35 TFunction(std::function<double(const std::array<double, DIMENSION> &, const std::span<double> par)> func) {}
36};
37
38template <int DIMENSIONS, class PRECISION, template <int D_, class P_> class... STAT>
40 std::span<double> paramInit)
41{
42 return TFitResult();
43}
44
45} // namespace Experimental
46} // namespace ROOT
47
48#endif
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
Definition: RHist.hxx:53
TFunction(std::function< double(const std::array< double, DIMENSION > &, const std::span< double > par)> func)
Definition: TFit.hxx:35
TFitResult FitTo(const RHist< DIMENSIONS, PRECISION, STAT... > &hist, const TFunction< DIMENSIONS > &func, std::span< double > paramInit)
Definition: TFit.hxx:39
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
Definition: RExports.h:151
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21