//GENIAL - GENeric Image & Array Library
//Copyright (C) 2006  Patrick LAURENT
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either version 2
//of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


#include "blas/dot.h"


#ifdef BLAS_PRECOMPILE

DEFINE_BLAS_DOT(float)
DEFINE_BLAS_DOT(double)
DEFINE_BLAS_DOT(complex<float>)
DEFINE_BLAS_DOT(complex<double>)

extern "C" float  BLAS_NAME(sdot)     (int n, const float  *pX, int dx, const float  *pY, int dy            ) { return dot(n,pX,dx,pY,dy); }
extern "C" double BLAS_NAME(ddot)     (int n, const double *pX, int dx, const double *pY, int dy            ) { return dot(n,pX,dx,pY,dy); }
extern "C" void   BLAS_NAME(cdotu_sub)(int n, const void   *pX, int dx, const void   *pY, int dy, void *dotu) { *(complex<float > *)dotu = dot (n,(complex<float > *)pX,dx,(complex<float > *)pY,dy); }
extern "C" void   BLAS_NAME(zdotu_sub)(int n, const void   *pX, int dx, const void   *pY, int dy, void *dotu) { *(complex<double> *)dotu = dot (n,(complex<double> *)pX,dx,(complex<double> *)pY,dy); }
extern "C" void   BLAS_NAME(cdotc_sub)(int n, const void   *pX, int dx, const void   *pY, int dy, void *dotc) { *(complex<double> *)dotc = cdot(n,(complex<double> *)pX,dx,(complex<double> *)pY,dy); }
extern "C" void   BLAS_NAME(zdotc_sub)(int n, const void   *pX, int dx, const void   *pY, int dy, void *dotc) { *(complex<double> *)dotc = cdot(n,(complex<double> *)pX,dx,(complex<double> *)pY,dy); }

#endif



