* updated kmbox (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / scientific / root / tmath.patch
blob33b8bb51cfb70078128fe85e158ca894545c3c77
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../root/tmath.patch
5 # Copyright (C) 2010 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
18 diff --git a/math/mathcore/src/TMath.cxx b/math/mathcore/src/TMath.cxx
19 index 65e051e..c3358d8 100644
20 --- a/math/mathcore/src/TMath.cxx
21 +++ b/math/mathcore/src/TMath.cxx
22 @@ -40,6 +40,27 @@ NamespaceImp(TMath)
23 #endif
25 namespace TMath {
26 + namespace ROOT {
27 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
28 + static void TMath_Dictionary();
30 + // Function generating the singleton type initializer
31 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
32 + {
33 + static ::ROOT::TGenericClassInfo
34 + instance("TMath", 0 /*version*/, "include/TMath.h", 36,
35 + ::ROOT::DefineBehavior((void*)0,(void*)0),
36 + &TMath_Dictionary, 0);
37 + return &instance;
38 + }
39 + // Static variable to force the class initialization
40 + static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
42 + // Dictionary for non-ClassDef classes
43 + static void TMath_Dictionary() {
44 + GenerateInitInstance()->GetClass();
45 + }
46 + }
48 Double_t GamCf(Double_t a,Double_t x);
49 Double_t GamSer(Double_t a,Double_t x);
50 diff --git a/math/matrix/src/TMatrixTCramerInv.cxx b/math/matrix/src/TMatrixTCramerInv.cxx
51 index f7bac8a..7f346f8 100644
52 --- a/math/matrix/src/TMatrixTCramerInv.cxx
53 +++ b/math/matrix/src/TMatrixTCramerInv.cxx
54 @@ -38,6 +38,31 @@
55 NamespaceImp(TMatrixTCramerInv);
56 #endif
58 +namespace TMatrixTCramerInv {
59 + namespace ROOT {
60 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
61 + static void TMatrixTCramerInv_Dictionary();
63 + // Function generating the singleton type initializer
64 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
65 + {
66 + static ::ROOT::TGenericClassInfo
67 + instance("TMatrixTCramerInv", 0 /*version*/, "include/TMatrixTCramerInv.h", 34,
68 + ::ROOT::DefineBehavior((void*)0,(void*)0),
69 + &TMatrixTCramerInv_Dictionary, 0);
70 + return &instance;
71 + }
72 + // Static variable to force the class initialization
73 + static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
75 + // Dictionary for non-ClassDef classes
76 + static void TMatrixTCramerInv_Dictionary() {
77 + GenerateInitInstance()->GetClass();
78 + }
80 + }
83 //______________________________________________________________________________
84 template<class Element>
85 Bool_t TMatrixTCramerInv::Inv2x2(TMatrixT<Element> &m,Double_t *determ)
86 diff --git a/math/matrix/src/TMatrixTSymCramerInv.cxx b/math/matrix/src/TMatrixTSymCramerInv.cxx
87 index ba38f22..067c899 100644
88 --- a/math/matrix/src/TMatrixTSymCramerInv.cxx
89 +++ b/math/matrix/src/TMatrixTSymCramerInv.cxx
90 @@ -38,6 +38,31 @@
91 NamespaceImp(TMatrixTSymCramerInv);
92 #endif
94 +namespace TMatrixTSymCramerInv {
95 + namespace ROOT {
96 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
97 + static void TMatrixTSymCramerInv_Dictionary();
99 + // Function generating the singleton type initializer
100 + inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
102 + static ::ROOT::TGenericClassInfo
103 + instance("TMatrixTSymCramerInv", 0 /*version*/, "include/TMatrixTSymCramerInv.h", 34,
104 + ::ROOT::DefineBehavior((void*)0,(void*)0),
105 + &TMatrixTSymCramerInv_Dictionary, 0);
106 + return &instance;
108 + // Static variable to force the class initialization
109 + static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
111 + // Dictionary for non-ClassDef classes
112 + static void TMatrixTSymCramerInv_Dictionary() {
113 + GenerateInitInstance()->GetClass();
119 //______________________________________________________________________________
120 template<class Element>
121 Bool_t TMatrixTSymCramerInv::Inv2x2(TMatrixTSym<Element> &m,Double_t *determ)