00001 // @(#)root/base:$Id: TMatrixTSymCramerInv.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Authors: Fons Rademakers, Eddy Offermann Oct 2004 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TMatrixTSymCramerInv 00013 #define ROOT_TMatrixTSymCramerInv 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TMatrixTSymCramerInv // 00018 // // 00019 // Encapsulate templates of Cramer Inversion routines. // 00020 // // 00021 // The 4x4, 5x5 and 6x6 are adapted from routines written by // 00022 // Mark Fischler and Steven Haywood as part of the CLHEP package // 00023 // // 00024 ////////////////////////////////////////////////////////////////////////// 00025 00026 #ifndef ROOT_Rtypes 00027 #include "Rtypes.h" 00028 #endif 00029 00030 #ifndef ROOT_TMatrixTSym 00031 #include "TMatrixTSym.h" 00032 #endif 00033 00034 namespace TMatrixTSymCramerInv { 00035 00036 template<class Element> Bool_t Inv2x2(TMatrixTSym<Element> &m,Double_t *determ); 00037 template<class Element> Bool_t Inv3x3(TMatrixTSym<Element> &m,Double_t *determ); 00038 template<class Element> Bool_t Inv4x4(TMatrixTSym<Element> &m,Double_t *determ); 00039 template<class Element> Bool_t Inv5x5(TMatrixTSym<Element> &m,Double_t *determ); 00040 template<class Element> Bool_t Inv6x6(TMatrixTSym<Element> &m,Double_t *determ); 00041 00042 } 00043 00044 #endif