Logo ROOT  
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
16namespace ROOT {
17
18namespace Minuit2 {
19
20template <class mtype, class M, class T>
22
23public:
24 MatrixInverse(const M &obj) : fObject(obj) {}
25
27
28 typedef mtype Type;
29
30 const M &Obj() const { return fObject; }
31
32private:
34};
35
36template <class M, class T>
37class MatrixInverse<vec, M, T> {
38
39private:
40 MatrixInverse(const M &obj) : fObject(obj) {}
41
42public:
44
45 typedef vec Type;
46
47 const M &Obj() const { return fObject; }
48
49private:
51};
52
53template <class mt, class M, class T>
55{
57}
58
59} // namespace Minuit2
60
61} // namespace ROOT
62
63#endif // ROOT_Minuit2_MatrixInverse
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:24
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.