ROOT
v6-30
Reference Guide
Loading...
Searching...
No Matches
MatrixInverse.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_MatrixInverse
11
#define ROOT_Minuit2_MatrixInverse
12
13
#include "
Minuit2/ABTypes.h
"
14
#include "
Minuit2/ABObj.h
"
15
16
namespace
ROOT
{
17
18
namespace
Minuit2 {
19
20
template
<
class
mtype,
class
M,
class
T>
21
class
MatrixInverse
{
22
23
public
:
24
MatrixInverse
(
const
M &obj) :
fObject
(obj) {}
25
26
~MatrixInverse
() {}
27
28
typedef
mtype
Type
;
29
30
const
M &
Obj
()
const
{
return
fObject
; }
31
32
private
:
33
M
fObject
;
34
};
35
36
template
<
class
M,
class
T>
37
class
MatrixInverse
<
vec
, M, T> {
38
39
private
:
40
MatrixInverse
(
const
M &obj) :
fObject
(obj) {}
41
42
public
:
43
~MatrixInverse
() {}
44
45
typedef
vec
Type
;
46
47
const
M &
Obj
()
const
{
return
fObject
; }
48
49
private
:
50
M
fObject
;
51
};
52
53
template
<
class
mt,
class
M,
class
T>
54
inline
ABObj<mt, MatrixInverse<mt, ABObj<mt, M, T>
, T>, T>
Inverse
(
const
ABObj<mt, M, T>
&obj)
55
{
56
return
ABObj<mt, MatrixInverse<mt, ABObj<mt, M, T>
, T>, T>(
MatrixInverse<mt, ABObj<mt, M, T>
, T>(obj));
57
}
58
59
}
// namespace Minuit2
60
61
}
// namespace ROOT
62
63
#endif
// ROOT_Minuit2_MatrixInverse
ABObj.h
ABTypes.h
ROOT::Minuit2::ABObj
Definition
ABObj.h:20
ROOT::Minuit2::MatrixInverse< vec, M, T >::MatrixInverse
MatrixInverse(const M &obj)
Definition
MatrixInverse.h:40
ROOT::Minuit2::MatrixInverse< vec, M, T >::~MatrixInverse
~MatrixInverse()
Definition
MatrixInverse.h:43
ROOT::Minuit2::MatrixInverse< vec, M, T >::Obj
const M & Obj() const
Definition
MatrixInverse.h:47
ROOT::Minuit2::MatrixInverse< vec, M, T >::Type
vec Type
Definition
MatrixInverse.h:45
ROOT::Minuit2::MatrixInverse< vec, M, T >::fObject
M fObject
Definition
MatrixInverse.h:50
ROOT::Minuit2::MatrixInverse
Definition
MatrixInverse.h:21
ROOT::Minuit2::MatrixInverse::~MatrixInverse
~MatrixInverse()
Definition
MatrixInverse.h:26
ROOT::Minuit2::MatrixInverse::fObject
M fObject
Definition
MatrixInverse.h:33
ROOT::Minuit2::MatrixInverse::Type
mtype Type
Definition
MatrixInverse.h:28
ROOT::Minuit2::MatrixInverse::MatrixInverse
MatrixInverse(const M &obj)
Definition
MatrixInverse.h:24
ROOT::Minuit2::MatrixInverse::Obj
const M & Obj() const
Definition
MatrixInverse.h:30
ROOT::Minuit2::vec
Definition
ABTypes.h:21
ROOT::Minuit2::Inverse
ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, double >, double >, double > Inverse(const ABObj< sym, LASymMatrix, double > &obj)
LAPACK Algebra functions specialize the Invert function for LASymMatrix.
Definition
LaInverse.h:24
ROOT
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Definition
EExecutionPolicy.hxx:4
math
minuit2
inc
Minuit2
MatrixInverse.h
ROOT v6-30 - Reference Guide Generated on Thu Dec 12 2024 06:12:13 (GVA Time) using Doxygen 1.9.8