24 #if defined(HAVE_LIBBLAS) 
   25 #if defined(HAVE_CBLAS_ATLAS_H) 
   26 #include <cblas-atlas.h> 
   48 #if defined(HAVE_LIBBLAS) 
   49     return cblas_ddot(rows, 
x, 1, y, 1);
 
   75 #if defined(HAVE_LIBBLAS) 
   76     return cblas_sdsdot(rows, a, 
x, 1, y, 1);
 
  100 #if defined(HAVE_LIBBLAS) 
  101     return cblas_dnrm2(rows, 
x, 1);
 
  125 #if defined(HAVE_LIBBLAS) 
  126     return cblas_dasum(rows, 
x, 1);
 
  150 #if defined(HAVE_LIBBLAS) 
  151     return cblas_idamax(rows, 
x, 1);
 
  176 #if defined(HAVE_LIBBLAS) 
  177     cblas_dscal(rows, a, 
x, 1);
 
  199 #if defined(HAVE_LIBBLAS) 
  200     cblas_dcopy(rows, 
x, 1, y, 1);
 
  227 #if defined(HAVE_LIBBLAS) 
  228     cblas_daxpy(rows, a, 
x, 1, y, 1);
 
  258 #if defined(HAVE_LIBBLAS) 
  259     return cblas_sdot(rows, 
x, 1, y, 1);
 
  283 #if defined(HAVE_LIBBLAS) 
  284     return cblas_snrm2(rows, 
x, 1);
 
  308 #if defined(HAVE_LIBBLAS) 
  309     return cblas_sasum(rows, 
x, 1);
 
  333 #if defined(HAVE_LIBBLAS) 
  334     return cblas_isamax(rows, 
x, 1);
 
  359 #if defined(HAVE_LIBBLAS) 
  360     cblas_sscal(rows, a, 
x, 1);
 
  383 #if defined(HAVE_LIBBLAS) 
  384     cblas_scopy(rows, 
x, 1, y, 1);
 
  411 #if defined(HAVE_LIBBLAS) 
  412     cblas_saxpy(rows, a, 
x, 1, y, 1);
 
double G_math_idamax(double *x, int rows)
Compute the maximum norm of vector x using the CBLAS routine cblas_idamax.
 
float G_math_isamax(float *x, int rows)
Compute the maximum norm of vector x using the CBLAS routine cblas_idamax.
 
void G_math_sscal(float *x, float a, int rows)
Scale vector x with scalar a using the CBLAS routine cblas_dscal.
 
void G_math_saxpy(float *x, float *y, float a, int rows)
Scale vector x with scalar a and add it to y.
 
float G_math_snrm2(float *x, int rows)
Compute the euclidean norm of vector x using the CBLAS routine cblas_dnrm2.
 
void G_math_daxpy(double *x, double *y, double a, int rows)
Scale vector x with scalar a and add it to y.
 
float G_math_sasum(float *x, int rows)
Compute the absolute sum norm of vector x using the CBLAS routine cblas_dasum.
 
void G_math_dcopy(double *x, double *y, int rows)
Copy vector x to vector y.
 
double G_math_dasum(double *x, int rows)
Compute the absolute sum norm of vector x using the CBLAS routine cblas_dasum.
 
double G_math_dnrm2(double *x, int rows)
Compute the euclidean norm of vector x using the CBLAS routine cblas_dnrm2.
 
void G_math_dscal(double *x, double a, int rows)
Scale vector x with scalar a using the CBLAS routine cblas_dscal.
 
float G_math_sdot(float *x, float *y, int rows)
Compute the dot product of vector x and y using the CBLAS routine cblas_sdot.
 
double G_math_ddot(double *x, double *y, int rows)
Compute the dot product of vector x and y using the CBLAS routine cblas_ddot.
 
void G_math_scopy(float *x, float *y, int rows)
Copy vector x to vector y.
 
float G_math_sdsdot(float *x, float *y, float a, int rows)
Compute the dot product of vector x and y using the CBLAS routine cblas_sdsdot.
 
void G_math_d_ax_by(double *, double *, double *, double, double, int)
Scales vectors x and y with the scalars a and b and adds them.
 
void G_math_f_ax_by(float *, float *, float *, float, float, int)
Scales vectors x and y with the scalars a and b and adds them.
 
void G_math_f_max_norm(float *, float *, int)
Compute the maximum norm of vector x.
 
void G_math_d_x_dot_y(double *, double *, double *, int)
Compute the dot product of vector x and y.
 
void G_math_f_asum_norm(float *, float *, int)
Compute the asum norm of vector x.
 
void G_math_f_copy(float *, float *, int)
Copy the vector x to y.
 
void G_math_d_euclid_norm(double *, double *, int)
Compute the euclid norm of vector x.
 
void G_math_f_x_dot_y(float *, float *, float *, int)
Compute the dot product of vector x and y.
 
void G_math_d_asum_norm(double *, double *, int)
Compute the asum norm of vector x.
 
void G_math_d_max_norm(double *, double *, int)
Compute the maximum norm of vector x.
 
void G_math_d_copy(double *, double *, int)
Copy the vector x to y.
 
void G_math_f_euclid_norm(float *, float *, int)
Compute the euclid norm of vector x.