ROOT
v6-24
Reference Guide
Loading...
Searching...
No Matches
MnVectorTransform.h
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#ifndef ROOT_Minuit2_MnVectorTransform
11
#define ROOT_Minuit2_MnVectorTransform
12
13
#include "
Minuit2/MnMatrix.h
"
14
15
#include <vector>
16
17
namespace
ROOT
{
18
19
namespace
Minuit2 {
20
21
class
MnVectorTransform
{
22
23
public
:
24
MnVectorTransform
() {}
25
26
~MnVectorTransform
() {}
27
28
std::vector<double>
operator()
(
const
MnAlgebraicVector
&avec)
const
29
{
30
31
std::vector<double> result;
32
result.reserve(avec.
size
());
33
34
for
(
unsigned
int
i = 0; i < avec.
size
(); i++)
35
result.push_back(avec(i));
36
37
return
result;
38
}
39
};
40
41
}
// namespace Minuit2
42
43
}
// namespace ROOT
44
45
#endif
// ROOT_Minuit2_MnVectorTransform
MnMatrix.h
ROOT::Minuit2::LAVector
Definition
LAVector.h:32
ROOT::Minuit2::LAVector::size
unsigned int size() const
Definition
LAVector.h:227
ROOT::Minuit2::MnVectorTransform
Definition
MnVectorTransform.h:21
ROOT::Minuit2::MnVectorTransform::MnVectorTransform
MnVectorTransform()
Definition
MnVectorTransform.h:24
ROOT::Minuit2::MnVectorTransform::operator()
std::vector< double > operator()(const MnAlgebraicVector &avec) const
Definition
MnVectorTransform.h:28
ROOT::Minuit2::MnVectorTransform::~MnVectorTransform
~MnVectorTransform()
Definition
MnVectorTransform.h:26
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
minuit2
inc
Minuit2
MnVectorTransform.h
ROOT v6-24 - Reference Guide Generated on Tue Aug 22 2023 03:06:39 (GVA Time) using Doxygen 1.9.8