blas.h

Go to the documentation of this file.
00001 /* Kernel Independent Fast Multipole Method
00002    Copyright (C) 2004 Lexing Ying, New York University
00003 
00004 This program is free software; you can redistribute it and/or modify
00005 it under the terms of the GNU General Public License as published by
00006 the Free Software Foundation; either version 2, or (at your option)
00007 any later version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT
00010 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00012 for more details.
00013 
00014 You should have received a copy of the GNU General Public License
00015 along with this program; see the file COPYING.  If not, write to the Free
00016 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00017 02111-1307, USA.  */
00018 
00019 #ifndef _BLAS_H_
00020 #define _BLAS_H_
00021 
00023 #define DGEMM dgemm_
00024 
00025 #define DGEMV dgemv_
00026 
00027 #define DAXPY daxpy_
00028 
00029 #define DGER  dger_
00030 
00031 #define DSCAL dscal_
00032 
00033 extern "C"
00034 {
00038   void DAXPY(int* N, double* ALPHA, double* X, int* INCX, double* Y, int* INCY);
00051   void DGEMM(char* TRANSA, char* TRANSB, int* M, int* N, int* K, double* ALPHA, double* A,
00052                                  int* LDA, double* B, int* LDB, double* BETA, double* C, int* LDC);
00060   void DGEMV(char* TRANS, int* M, int* N, double* ALPHA, double* A, int* LDA, double* X, int* INCX,
00061                                  double* BETA, double* Y, int* INCY);
00070   void DGER (int* M, int * N, double* ALPHA, double* X, int* INCX, double* Y, int* INCY,
00071                                  double* A, int* LDA);
00075   void DSCAL(int* N, double* ALPHA, double* X, int* INCX);
00076 }
00077 
00078 #endif
00079 

Generated on Sun Dec 4 18:13:12 2005 for common by  doxygen 1.4.5