ROOT
v6-20
Reference Guide
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
namespace
ROOT
{
16
17
namespace
Minuit2 {
18
19
20
class
MnVectorTransform
{
21
22
public
:
23
24
MnVectorTransform
() {}
25
26
~MnVectorTransform
() {}
27
28
std::vector<double>
operator()
(
const
MnAlgebraicVector
& avec)
const
{
29
30
std::vector<double> result; result.reserve(avec.
size
());
31
32
for
(
unsigned
int
i = 0; i < avec.
size
(); i++) result.push_back(avec(i));
33
34
return
result;
35
}
36
37
};
38
39
}
// namespace Minuit2
40
41
}
// namespace ROOT
42
43
#endif
// ROOT_Minuit2_MnVectorTransform
MnMatrix.h
ROOT::Minuit2::LAVector
Definition:
LAVector.h:33
ROOT::Minuit2::LAVector::size
unsigned int size() const
Definition:
LAVector.h:198
ROOT::Minuit2::MnVectorTransform
Definition:
MnVectorTransform.h:20
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
VSD Structures.
Definition:
StringConv.hxx:21
math
minuit2
inc
Minuit2
MnVectorTransform.h
ROOT v6-20 - Reference Guide Generated on Fri Apr 1 2022 00:22:21 (GVA Time) using Doxygen 1.9.4