ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
26
namespace
ROOT {
27
namespace
Experimental {
28
29
class
RFitResult {
30
};
31
32
template
<
int
DIMENSION>
33
class
RFunction {
34
public
:
35
RFunction(std::function<
double
(
const
std::array<double, DIMENSION> &,
const
std::span<const double> par)> func) {}
36
};
37
38
template
<
int
DIMENSIONS,
class
PRECISION,
template
<
int
D_,
class
P_>
class
... STAT>
39
RFitResult FitTo(
const
RHist<DIMENSIONS, PRECISION, STAT...> &hist,
const
RFunction<DIMENSIONS> &func,
40
std::span<const double> paramInit)
41
{
42
return
RFitResult();
43
}
44
45
}
// namespace Experimental
46
}
// namespace ROOT
47
48
#endif
RHist.hxx
RSpan.hxx
math
mathcore
v7
inc
ROOT
RFit.hxx
Generated on Tue May 5 2020 14:03:03 for ROOT by
1.8.5