00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _DL_ATLAS_H
00019 #define _DL_ATLAS_H
00020
00021
00022 #ifndef WIN32
00023 # define DL_ATLAS 1
00024 #endif
00025
00026 #ifndef CBLAS_ENUM_DEFINED_H
00027 #define CBLAS_ENUM_DEFINED_H
00028 enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102 };
00029 enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113,
00030 AtlasConj=114};
00031 enum CBLAS_UPLO {CblasUpper=121, CblasLower=122};
00032 enum CBLAS_DIAG {CblasNonUnit=131, CblasUnit=132};
00033 enum CBLAS_SIDE {CblasLeft=141, CblasRight=142};
00034 #endif
00035
00036
00037 typedef void (*dl_cblas_zgemm_function)(CBLAS_ORDER,CBLAS_TRANSPOSE,CBLAS_TRANSPOSE,
00038 const int, const int, const int, const void*,
00039 const void*,const int,const void*,const int,
00040 const void*,void*,const int);
00041
00042 typedef void (*dl_cblas_cgemm_function)(CBLAS_ORDER,CBLAS_TRANSPOSE,CBLAS_TRANSPOSE,
00043 const int, const int, const int, const void*,
00044 const void*,const int,const void*,const int,
00045 const void*,void*,const int);
00046
00047 typedef void (*dl_cblas_zgemv_function)(CBLAS_ORDER,CBLAS_TRANSPOSE,
00048 const int, const int, const void*,
00049 const void*,const int,const void*,const int,
00050 const void*,void*,const int);
00051
00052 typedef void (*dl_cblas_cgemv_function)(CBLAS_ORDER,CBLAS_TRANSPOSE,
00053 const int, const int, const void*,
00054 const void*,const int,const void*,const int,
00055 const void*,void*,const int);
00056
00057 typedef void (*dl_lapack_zgesdd_function)(char*,
00058 int*, int*,
00059 void*, int*,
00060 void*,
00061 void*, int*,
00062 void*, int*,
00063 void*, int*,
00064 double*,
00065 int*,
00066 int*
00067 );
00068
00069 typedef void (*dl_lapack_cgesvd_function)(char*, char*,
00070 int*, int*,
00071 void*, int*,
00072 void*,
00073 void*, int*,
00074 void*, int*,
00075 void*, int*,
00076 float*,
00077 int*,
00078 int*
00079 );
00080 typedef void (*dl_lapack_zgesvd_function)(char*, char*,
00081 int*, int*,
00082 void*, int*,
00083 void*,
00084 void*, int*,
00085 void*, int*,
00086 void*, int*,
00087 double*,
00088 int*
00089 );
00090
00091 typedef void (*dl_lapack_cgesdd_function)(char*,
00092 int*, int*,
00093 void*, int*,
00094 void*,
00095 void*, int*,
00096 void*, int*,
00097 void*, int*,
00098 float*,
00099 int*
00100 );
00101
00102 extern dl_cblas_zgemm_function dl_cblas_zgemm;
00103 extern dl_cblas_cgemm_function dl_cblas_cgemm;
00104 extern dl_cblas_zgemv_function dl_cblas_zgemv;
00105 extern dl_cblas_cgemv_function dl_cblas_cgemv;
00106 extern dl_lapack_zgesdd_function dl_lapack_zgesdd;
00107 extern dl_lapack_cgesdd_function dl_lapack_cgesdd;
00108 extern dl_lapack_zgesvd_function dl_lapack_zgesvd;
00109 extern dl_lapack_cgesvd_function dl_lapack_cgesvd;
00110
00111 #endif