Logo ROOT   6.12/07
Reference Guide
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 
21 template<class mtype, class M, class T>
23 
24 public:
25 
26  MatrixInverse(const M& obj) : fObject(obj) {}
27 
29 
30  typedef mtype Type;
31 
32  const M& Obj() const {return fObject;}
33 
34 private:
35 
37 };
38 
39 template<class M, class T>
40 class MatrixInverse<vec, M, T> {
41 
42 private:
43 
44  MatrixInverse(const M& obj) : fObject(obj) {}
45 
46 public:
47 
49 
50  typedef vec Type;
51 
52  const M& Obj() const {return fObject;}
53 
54 private:
55 
57 };
58 
59 template<class mt, class M, class T>
62 }
63 
64  } // namespace Minuit2
65 
66 } // namespace ROOT
67 
68 #endif // ROOT_Minuit2_MatrixInverse
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
double T(double x)
Definition: ChebyshevPol.h:34
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:27