c_zblas1.c
Go to the documentation of this file.
00001 /*
00002  * c_zblas1.c
00003  *
00004  * The program is a C wrapper for zcblat1.
00005  *
00006  * Written by Keita Teranishi.  2/11/1998
00007  *
00008  */
00009 #include "cblas_test.h"
00010 #include "cblas.h"
00011 void F77_zaxpy(const int *N, const void *alpha, void *X,
00012                     const int *incX, void *Y, const int *incY)
00013 {
00014    cblas_zaxpy(*N, alpha, X, *incX, Y, *incY);
00015    return;
00016 }
00017 
00018 void F77_zcopy(const int *N, void *X, const int *incX, 
00019                     void *Y, const int *incY)
00020 {
00021    cblas_zcopy(*N, X, *incX, Y, *incY);
00022    return;
00023 }
00024 
00025 void F77_zdotc(const int *N, const void *X, const int *incX, 
00026                      const void *Y, const int *incY,void *dotc)
00027 {
00028    cblas_zdotc_sub(*N, X, *incX, Y, *incY, dotc);
00029    return;
00030 }
00031 
00032 void F77_zdotu(const int *N, void *X, const int *incX, 
00033                         void *Y, const int *incY,void *dotu)
00034 {
00035    cblas_zdotu_sub(*N, X, *incX, Y, *incY, dotu);
00036    return;
00037 }
00038 
00039 void F77_zdscal(const int *N, const double *alpha, void *X,
00040                          const int *incX)
00041 {
00042    cblas_zdscal(*N, *alpha, X, *incX);
00043    return;
00044 }
00045 
00046 void F77_zscal(const int *N, const void * *alpha, void *X,
00047                          const int *incX)
00048 {
00049    cblas_zscal(*N, alpha, X, *incX);
00050    return;
00051 }
00052 
00053 void F77_zswap( const int *N, void *X, const int *incX,
00054                           void *Y, const int *incY)
00055 {
00056    cblas_zswap(*N,X,*incX,Y,*incY);
00057    return;
00058 }
00059 
00060 int F77_izamax(const int *N, const void *X, const int *incX)
00061 {
00062    if (*N < 1 || *incX < 1) return(0);
00063    return(cblas_izamax(*N, X, *incX)+1);
00064 }
00065 
00066 double F77_dznrm2(const int *N, const void *X, const int *incX)
00067 {
00068    return cblas_dznrm2(*N, X, *incX);
00069 }
00070 
00071 double F77_dzasum(const int *N, void *X, const int *incX)
00072 {
00073    return cblas_dzasum(*N, X, *incX);
00074 }


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:15