00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef MyBlas
00023 #define MyBlas myblas.h
00024 #if HAVE_CONFIG
00025 #include <config.h>
00026 #endif
00027
00028 #include <iostream>
00029 #include "DMatrix.h"
00030 #include "DVector.h"
00031 #include "SMatrix.h"
00032 #include "SVector.h"
00033 #include "ZMatrix.h"
00034 #include "ZVector.h"
00035
00036
00037
00038
00041 void dgemm(const double alpha,DMatrix &A,DMatrix &B,const double beta,DMatrix &C);
00042
00045 void dgemm_n_t(const double alpha,DMatrix &A,DMatrix &B,const double beta,DMatrix &C);
00046
00049 void dgemm_t_t(const double alpha,DMatrix &A,DMatrix &B,const double beta,DMatrix &C);
00050
00053 void dgemm_t_n(const double alpha,DMatrix &A,DMatrix &B,const double beta,DMatrix &C);
00054
00057 void dgemv(double alpha,DMatrix &A,DVector &X, double beta,DVector &Y);
00058
00061 void dgemv_t(double alpha,DMatrix &A,DVector &X, double beta,DVector &Y);
00062
00063
00064
00067 void sgemm(const float alpha,SMatrix &A,SMatrix &B,const float beta,SMatrix &C);
00068
00071 void sgemm_n_t(const float alpha,SMatrix &A,SMatrix &B,const float beta,SMatrix &C);
00072
00075 void sgemm_t_t(const float alpha,SMatrix &A,SMatrix &B,const float beta,SMatrix &C);
00076
00079 void sgemm_t_n(const float alpha,SMatrix &A,SMatrix &B,const float beta,SMatrix &C);
00080
00083 void sgemv(const float alpha,SMatrix &A,SVector &X, const float beta,SVector &Y);
00084
00087 void sgemv_t(const float alpha,SMatrix &A,SVector &X, const float beta,SVector &Y);
00088
00089
00090
00093 void zgemv(complex<double> alpha,ZMatrix &A,ZVector &X,complex<double> beta,ZVector &Y);
00094
00095 void zgemv_t(complex<double> alpha,ZMatrix &A,ZVector &X,complex<double> beta,ZVector &Y);
00096
00097 void zgemv_c(complex<double> alpha,ZMatrix &A,ZVector &X,complex<double> beta,ZVector &Y);
00098
00099
00102 void zgemm(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00103
00104 void zgemm_n_t(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00105
00106 void zgemm_t_t(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00107
00108 void zgemm_t_n(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00109
00110 void zgemm_n_c(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00111
00112 void zgemm_c_c(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00113
00114 void zgemm_c_n(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00115
00116 void zgemm_t_c(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00117
00118 void zgemm_c_t(const complex<double> alpha,ZMatrix &A,ZMatrix &B,const complex<double> beta,ZMatrix &C);
00119
00120 #endif