00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef MyLapack
00023 #define MyLapack "@(#)MyLapack.h $Revision$"
00024 #if HAVE_CONFIG
00025 #include <config.h>
00026 #endif
00027
00028 #include <iostream>
00029 #include "lapack_wrapper.h"
00030 #include "DMatrix.h"
00031 #include "DVector.h"
00032 #include "SMatrix.h"
00033 #include "SVector.h"
00034
00035
00047 int DLU_decomp(DMatrix &A,int *ipiv);
00048
00055 int DLU_invert(DMatrix &A,int *ipiv,double *work,int &lwork);
00056
00061 double DLU_det(DMatrix &A,int *ipiv);
00062
00068 int DLU_solve(DMatrix &M,int *ipiv,DVector &b);
00069
00074 int DSYEV(char jobz,char uplo,DMatrix &M,DVector &V,double *work,int &lwork);
00075
00078 int SLU_decomp(SMatrix &A,int *ipiv);
00079
00080 int SLU_invert(SMatrix &A,int *ipiv,float *work,int &lwork);
00081
00082 float SLU_det(SMatrix &A,int *ipiv);
00083
00084 int SLU_solve(SMatrix &M,int *ipiv,DVector &b);
00085
00086 int SSYEV(char jobz,char uplo,SMatrix &M,SVector &V,float *work,int &lwork);
00087
00088
00089 #endif