Changeset 302 in Sophya for trunk/SophyaLib/NTools/tmatrix.cc
- Timestamp:
- May 18, 1999, 2:58:26 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/tmatrix.cc
r301 r302 1 // $Id: tmatrix.cc,v 1. 6 1999-05-18 12:23:13ansari Exp $1 // $Id: tmatrix.cc,v 1.7 1999-05-18 12:58:24 ansari Exp $ 2 2 // C.Magneville 04/99 3 3 #include "machdefs.h" … … 9 9 #include "tmatrix.h" 10 10 #include "objfio.h" 11 #include "generalfit.h"12 11 13 12 using namespace PlanckDPC; … … 166 165 //////////////////////////////////////////////////////////////// 167 166 //**** Pour inversion 167 r_8 TMatrix<r_8>::GausPiv(TMatrix<r_8>& a, TMatrix<r_8>& b) 168 // Pivot de Gauss 169 // * Attention: egcs impose que cette fonction soit mise dans le .cc 170 // avant ::Inverse() (car Inverse() l'utilise) 171 { 172 Matrix A(a); 173 Matrix B(b); 174 return (r_8) Matrix::GausPiv(A,B); 175 } 176 168 177 TMatrix<r_8> TMatrix<r_8>::Inverse() const 169 178 // Inversion … … 177 186 } 178 187 179 double TMatrix<r_8>::GausPiv(TMatrix<r_8>& a, TMatrix<r_8>& b) 180 // Pivot de Gauss 181 { 182 Matrix A(a); 183 Matrix B(b); 184 return Matrix::GausPiv(A,B); 185 } 186 188 #include "generalfit.h" 187 189 ////////////////////////////////////////////////////////// 188 190 //**** Residus des fits
Note:
See TracChangeset
for help on using the changeset viewer.