StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
xTCL.h
1 
5 /***************************************************************************
6  *
7  * $Id: xTCL.h,v 1.4 2014/02/18 19:45:49 perev Exp $
8  *
9  * Author: Victor Perev, Feb 2007
10  ***************************************************************************
11  *
12  * Description:
13  *
14  * Set of useful routines in style of TCL, but not in TCL
15  *
16  *
17  **************************************************************************/
18 #ifndef xTCL_h
19 #define xTCL_h
20 #include "TMath.h"
21 #if ROOT_VERSION_CODE < 331013
22 #include "TCL.h"
23 #else
24 #include "TCernLib.h"
25 #endif
26 #include "TMatrixD.h"
27 #include "TVectorD.h"
28 
29 
30 class xTCL {
31 public:
32 static double vmaxa (const double *a, int na);
33 static double vmaxa (const TVectorD &a);
34 static int lvmaxa (const double *v,int n);
35 static int lvmina (const double *v,int n);
36 static void vfill ( double *a,double f,int na);
37 static void mxmlrt (const TMatrixD &A,const TMatrixD &B,TMatrixD &X);
38 static void mxmlrtS(const TMatrixD &A,const TMatrixD &B,TMatrixD &X);
39 static void mxmlrtS(const double *A,const double *B,double *X,int nra,int nca);
40 static TMatrixD T(const TMatrixD &mx);
41 static void eigen2 (const double err[3], double lam[2], double eig[2]);
42 static double simpson(const double *F,double A,double B,int NP);
43 static double vasum (const double *a, int na);
44 static double vasum (const TVectorD &a);
45 static int SqProgSimple( TVectorD &x
46  ,const TVectorD &g,const TMatrixD &G
47  ,const TVectorD &Min
48  ,const TVectorD &Max,int iAkt);
49 static double **makeMatrixD(int m,int n);
50 static void toEuler(const double TT[3][3],double PhiThePsi[6]);
51 
52 
53 };
54 #endif// xTCL_h
Definition: T.h:18
Definition: xTCL.h:30