Logo ROOT  
Reference Guide
RFit.hxx
Go to the documentation of this file.
1/// \file ROOT/RFit.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_RFit
17#define ROOT_RFit
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 RFunction {
34public:
35 RFunction(std::function<double(const std::array<double, DIMENSION> &, const std::span<const double> par)> func) {}
36};
37
38template <int DIMENSIONS, class PRECISION, template <int D_, class P_> class... STAT>
40 std::span<const double> paramInit)
41{
42 return RFitResult();
43}
44
45} // namespace Experimental
46} // namespace ROOT
47
48#endif
RFunction(std::function< double(const std::array< double, DIMENSION > &, const std::span< const double > par)> func)
Definition: RFit.hxx:35
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
Definition: RHist.hxx:51
RFitResult FitTo(const RHist< DIMENSIONS, PRECISION, STAT... > &hist, const RFunction< DIMENSIONS > &func, std::span< const double > paramInit)
Definition: RFit.hxx:39
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
Definition: RExports.h:151
VSD Structures.
Definition: StringConv.hxx:21