ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
RFit.hxx
Go to the documentation of this file.
1
/// \file ROOT/RFit.hxx
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
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
ROOT::Experimental::RFitResult
Definition
RFit.hxx:29
ROOT::Experimental::RFunction
Definition
RFit.hxx:33
ROOT::Experimental::RFunction::RFunction
RFunction(std::function< double(const std::array< double, DIMENSION > &, const std::span< const double > par)> func)
Definition
RFit.hxx:35
STAT
ROOT::Experimental::FitTo
RFitResult FitTo(const RHist< DIMENSIONS, PRECISION, STAT... > &hist, const RFunction< DIMENSIONS > &func, std::span< const double > paramInit)
Definition
RFit.hxx:39
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
math
mathcore
v7
inc
ROOT
RFit.hxx
ROOT v6-32 - Reference Guide Generated on Sat Feb 1 2025 04:14:50 (GVA Time) using Doxygen 1.10.0