ROOT
6.16/01
Reference Guide
math
minuit2
inc
Minuit2
VectorOuterProduct.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_VectorOuterProduct
11
#define ROOT_Minuit2_VectorOuterProduct
12
13
#include "
Minuit2/ABTypes.h
"
14
#include "
Minuit2/ABObj.h
"
15
16
namespace
ROOT
{
17
18
namespace
Minuit2 {
19
20
21
template
<
class
M,
class
T>
22
class
VectorOuterProduct
{
23
24
public
:
25
26
VectorOuterProduct
(
const
M& obj) :
fObject
(obj) {}
27
28
~VectorOuterProduct
() {}
29
30
typedef
sym
Type
;
31
32
const
M&
Obj
()
const
{
return
fObject
;}
33
34
private
:
35
36
M
fObject
;
37
};
38
39
template
<
class
M,
class
T>
40
inline
ABObj<sym, VectorOuterProduct<ABObj<vec, M, T>
,
T
>,
T
>
Outer_product
(
const
ABObj<vec, M, T>
& obj) {
41
return
ABObj<sym, VectorOuterProduct<ABObj<vec, M, T>
,
T
>,
T
>(
VectorOuterProduct<ABObj<vec, M, T>
,
T
>(obj));
42
}
43
44
}
// namespace Minuit2
45
46
}
// namespace ROOT
47
48
#endif
// ROOT_Minuit2_VectorOuterProduct
ABObj.h
ABTypes.h
ROOT::Minuit2::ABObj
Definition:
ABObj.h:21
ROOT::Minuit2::VectorOuterProduct
Definition:
VectorOuterProduct.h:22
ROOT::Minuit2::VectorOuterProduct::fObject
M fObject
Definition:
VectorOuterProduct.h:36
ROOT::Minuit2::VectorOuterProduct::VectorOuterProduct
VectorOuterProduct(const M &obj)
Definition:
VectorOuterProduct.h:26
ROOT::Minuit2::VectorOuterProduct::~VectorOuterProduct
~VectorOuterProduct()
Definition:
VectorOuterProduct.h:28
ROOT::Minuit2::VectorOuterProduct::Type
sym Type
Definition:
VectorOuterProduct.h:30
ROOT::Minuit2::VectorOuterProduct::Obj
const M & Obj() const
Definition:
VectorOuterProduct.h:32
ROOT::Minuit2::sym
Definition:
ABTypes.h:19
ROOT::Math::Chebyshev::T
double T(double x)
Definition:
ChebyshevPol.h:34
ROOT::Minuit2::Outer_product
ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > Outer_product(const ABObj< vec, LAVector, double > &obj)
LAPACK Algebra function specialize the Outer_product function for LAVector;.
Definition:
LaOuterProduct.h:28
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21