Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*
Toshihiro Shimizu 890ddd
  NOTE: This is a reduced version of cblas.h without some complex-type routines.
Shinya Kitaoka 120a6e
        It was necessary to avoid C99 complex types (used by GOTOBLAS
Shinya Kitaoka 120a6e
  implementation,
Shinya Kitaoka 120a6e
        for instance) issues. Complex numbers are currently NOT supported in
Shinya Kitaoka 120a6e
  tlin
Toshihiro Shimizu 890ddd
        by the way...
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef CBLAS_H
Toshihiro Shimizu 890ddd
#define CBLAS_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#define CBLAS_INDEX size_t
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
enum CBLAS_ORDER { CblasRowMajor = 101, CblasColMajor = 102 };
Shinya Kitaoka 120a6e
enum CBLAS_TRANSPOSE {
Shinya Kitaoka 120a6e
  CblasNoTrans     = 111,
Shinya Kitaoka 120a6e
  CblasTrans       = 112,
Shinya Kitaoka 120a6e
  CblasConjTrans   = 113,
Shinya Kitaoka 120a6e
  CblasConjNoTrans = 114
Shinya Kitaoka 120a6e
};
Shinya Kitaoka 120a6e
enum CBLAS_UPLO { CblasUpper = 121, CblasLower = 122 };
Shinya Kitaoka 120a6e
enum CBLAS_DIAG { CblasNonUnit = 131, CblasUnit = 132 };
Shinya Kitaoka 120a6e
enum CBLAS_SIDE { CblasLeft = 141, CblasRight = 142 };
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
float cblas_sdsdot(blasint n, float, float *x, blasint incx, float *y,
Shinya Kitaoka 120a6e
                   blasint incy);
Toshihiro Shimizu 890ddd
double cblas_dsdot(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
float cblas_sdot(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
double cblas_ddot(blasint n, double *x, blasint incx, double *y, blasint incy);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
float cblas_sasum(blasint n, float *x, blasint incx);
Toshihiro Shimizu 890ddd
double cblas_dasum(blasint n, double *x, blasint incx);
Toshihiro Shimizu 890ddd
float cblas_scasum(blasint n, float *x, blasint incx);
Toshihiro Shimizu 890ddd
double cblas_dzasum(blasint n, double *x, blasint incx);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
float cblas_snrm2(blasint N, float *X, blasint incX);
Toshihiro Shimizu 890ddd
double cblas_dnrm2(blasint N, double *X, blasint incX);
Toshihiro Shimizu 890ddd
float cblas_scnrm2(blasint N, float *X, blasint incX);
Toshihiro Shimizu 890ddd
double cblas_dznrm2(blasint N, double *X, blasint incX);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
CBLAS_INDEX cblas_isamax(blasint n, float *x, blasint incx);
Toshihiro Shimizu 890ddd
CBLAS_INDEX cblas_idamax(blasint n, double *x, blasint incx);
Toshihiro Shimizu 890ddd
CBLAS_INDEX cblas_icamax(blasint n, float *x, blasint incx);
Toshihiro Shimizu 890ddd
CBLAS_INDEX cblas_izamax(blasint n, double *x, blasint incx);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void cblas_saxpy(blasint n, float, float *x, blasint incx, float *y,
Shinya Kitaoka 120a6e
                 blasint incy);
Shinya Kitaoka 120a6e
void cblas_daxpy(blasint n, double, double *x, blasint incx, double *y,
Shinya Kitaoka 120a6e
                 blasint incy);
Shinya Kitaoka 120a6e
void cblas_caxpy(blasint n, float *, float *x, blasint incx, float *y,
Shinya Kitaoka 120a6e
                 blasint incy);
Shinya Kitaoka 120a6e
void cblas_zaxpy(blasint n, double *, double *x, blasint incx, double *y,
Shinya Kitaoka 120a6e
                 blasint incy);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_scopy(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_dcopy(blasint n, double *x, blasint incx, double *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_ccopy(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_zcopy(blasint n, double *x, blasint incx, double *y, blasint incy);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_sswap(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_dswap(blasint n, double *x, blasint incx, double *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_cswap(blasint n, float *x, blasint incx, float *y, blasint incy);
Toshihiro Shimizu 890ddd
void cblas_zswap(blasint n, double *x, blasint incx, double *y, blasint incy);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void cblas_srot(blasint N, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                float c, float s);
Shinya Kitaoka 120a6e
void cblas_drot(blasint N, double *X, blasint incX, double *Y, blasint incY,
Shinya Kitaoka 120a6e
                double c, double s);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_srotg(float *a, float *b, float *c, float *s);
Toshihiro Shimizu 890ddd
void cblas_drotg(double *a, double *b, double *c, double *s);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void cblas_srotm(blasint N, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                 float *P);
Shinya Kitaoka 120a6e
void cblas_drotm(blasint N, double *X, blasint incX, double *Y, blasint incY,
Shinya Kitaoka 120a6e
                 double *P);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_srotmg(float *d1, float *d2, float *b1, float b2, float *P);
Toshihiro Shimizu 890ddd
void cblas_drotmg(double *d1, double *d2, double *b1, double b2, double *P);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_sscal(blasint N, float alpha, float *X, blasint incX);
Toshihiro Shimizu 890ddd
void cblas_dscal(blasint N, double alpha, double *X, blasint incX);
Toshihiro Shimizu 890ddd
void cblas_cscal(blasint N, float *alpha, float *X, blasint incX);
Toshihiro Shimizu 890ddd
void cblas_zscal(blasint N, double *alpha, double *X, blasint incX);
Toshihiro Shimizu 890ddd
void cblas_csscal(blasint N, float alpha, float *X, blasint incX);
Toshihiro Shimizu 890ddd
void cblas_zdscal(blasint N, double alpha, double *X, blasint incX);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void cblas_sgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE trans, blasint m,
Shinya Kitaoka 120a6e
                 blasint n, float alpha, float *a, blasint lda, float *x,
Shinya Kitaoka 120a6e
                 blasint incx, float beta, float *y, blasint incy);
Shinya Kitaoka 120a6e
void cblas_dgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE trans, blasint m,
Shinya Kitaoka 120a6e
                 blasint n, double alpha, double *a, blasint lda, double *x,
Shinya Kitaoka 120a6e
                 blasint incx, double beta, double *y, blasint incy);
Shinya Kitaoka 120a6e
void cblas_cgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE trans, blasint m,
Shinya Kitaoka 120a6e
                 blasint n, float *alpha, float *a, blasint lda, float *x,
Shinya Kitaoka 120a6e
                 blasint incx, float *beta, float *y, blasint incy);
Shinya Kitaoka 120a6e
void cblas_zgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE trans, blasint m,
Shinya Kitaoka 120a6e
                 blasint n, double *alpha, double *a, blasint lda, double *x,
Shinya Kitaoka 120a6e
                 blasint incx, double *beta, double *y, blasint incy);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sger(enum CBLAS_ORDER order, blasint M, blasint N, float alpha,
Shinya Kitaoka 120a6e
                float *X, blasint incX, float *Y, blasint incY, float *A,
Shinya Kitaoka 120a6e
                blasint lda);
Shinya Kitaoka 120a6e
void cblas_dger(enum CBLAS_ORDER order, blasint M, blasint N, double alpha,
Shinya Kitaoka 120a6e
                double *X, blasint incX, double *Y, blasint incY, double *A,
Shinya Kitaoka 120a6e
                blasint lda);
Shinya Kitaoka 120a6e
void cblas_cgeru(enum CBLAS_ORDER order, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *X, blasint incX, float *Y, blasint incY, float *A,
Shinya Kitaoka 120a6e
                 blasint lda);
Shinya Kitaoka 120a6e
void cblas_cgerc(enum CBLAS_ORDER order, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *X, blasint incX, float *Y, blasint incY, float *A,
Shinya Kitaoka 120a6e
                 blasint lda);
Shinya Kitaoka 120a6e
void cblas_zgeru(enum CBLAS_ORDER order, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *X, blasint incX, double *Y, blasint incY, double *A,
Shinya Kitaoka 120a6e
                 blasint lda);
Shinya Kitaoka 120a6e
void cblas_zgerc(enum CBLAS_ORDER order, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *X, blasint incX, double *Y, blasint incY, double *A,
Shinya Kitaoka 120a6e
                 blasint lda);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_strsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtrsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctrsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztrsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_strmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtrmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctrmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztrmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssyr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                float alpha, float *X, blasint incX, float *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_dsyr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                double alpha, double *X, blasint incX, double *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_cher(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                float alpha, float *X, blasint incX, float *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_zher(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                double alpha, double *X, blasint incX, double *A, blasint lda);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssyr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float alpha, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                 float *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_dsyr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double alpha, double *X, blasint incX, double *Y, blasint incY,
Shinya Kitaoka 120a6e
                 double *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_cher2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float *alpha, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                 float *A, blasint lda);
Shinya Kitaoka 120a6e
void cblas_zher2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double *alpha, double *X, blasint incX, double *Y,
Shinya Kitaoka 120a6e
                 blasint incY, double *A, blasint lda);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sgbmv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, blasint M,
Shinya Kitaoka 120a6e
                 blasint N, blasint KL, blasint KU, float alpha, float *A,
Shinya Kitaoka 120a6e
                 blasint lda, float *X, blasint incX, float beta, float *Y,
Shinya Kitaoka 120a6e
                 blasint incY);
Shinya Kitaoka 120a6e
void cblas_dgbmv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, blasint M,
Shinya Kitaoka 120a6e
                 blasint N, blasint KL, blasint KU, double alpha, double *A,
Shinya Kitaoka 120a6e
                 blasint lda, double *X, blasint incX, double beta, double *Y,
Shinya Kitaoka 120a6e
                 blasint incY);
Shinya Kitaoka 120a6e
void cblas_cgbmv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, blasint M,
Shinya Kitaoka 120a6e
                 blasint N, blasint KL, blasint KU, float *alpha, float *A,
Shinya Kitaoka 120a6e
                 blasint lda, float *X, blasint incX, float *beta, float *Y,
Shinya Kitaoka 120a6e
                 blasint incY);
Shinya Kitaoka 120a6e
void cblas_zgbmv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, blasint M,
Shinya Kitaoka 120a6e
                 blasint N, blasint KL, blasint KU, double *alpha, double *A,
Shinya Kitaoka 120a6e
                 blasint lda, double *X, blasint incX, double *beta, double *Y,
Shinya Kitaoka 120a6e
                 blasint incY);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float alpha, float *A, blasint lda, float *X,
Shinya Kitaoka 120a6e
                 blasint incX, float beta, float *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_dsbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double alpha, double *A, blasint lda, double *X,
Shinya Kitaoka 120a6e
                 blasint incX, double beta, double *Y, blasint incY);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_stbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_stbsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtbsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctbsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float *A, blasint lda, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztbsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double *A, blasint lda, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_stpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *Ap, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *Ap, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *Ap, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *Ap, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_stpsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *Ap, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_dtpsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *Ap, double *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ctpsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 float *Ap, float *X, blasint incX);
Shinya Kitaoka 120a6e
void cblas_ztpsv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransA, enum CBLAS_DIAG Diag, blasint N,
Shinya Kitaoka 120a6e
                 double *Ap, double *X, blasint incX);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssymv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float alpha, float *A, blasint lda, float *X, blasint incX,
Shinya Kitaoka 120a6e
                 float beta, float *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_dsymv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double alpha, double *A, blasint lda, double *X, blasint incX,
Shinya Kitaoka 120a6e
                 double beta, double *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_chemv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float *alpha, float *A, blasint lda, float *X, blasint incX,
Shinya Kitaoka 120a6e
                 float *beta, float *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_zhemv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double *alpha, double *A, blasint lda, double *X, blasint incX,
Shinya Kitaoka 120a6e
                 double *beta, double *Y, blasint incY);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sspmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float alpha, float *Ap, float *X, blasint incX, float beta,
Shinya Kitaoka 120a6e
                 float *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_dspmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double alpha, double *Ap, double *X, blasint incX, double beta,
Shinya Kitaoka 120a6e
                 double *Y, blasint incY);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sspr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                float alpha, float *X, blasint incX, float *Ap);
Shinya Kitaoka 120a6e
void cblas_dspr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                double alpha, double *X, blasint incX, double *Ap);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_chpr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                float alpha, float *X, blasint incX, float *A);
Shinya Kitaoka 120a6e
void cblas_zhpr(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                double alpha, double *X, blasint incX, double *A);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sspr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float alpha, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                 float *A);
Shinya Kitaoka 120a6e
void cblas_dspr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double alpha, double *X, blasint incX, double *Y, blasint incY,
Shinya Kitaoka 120a6e
                 double *A);
Shinya Kitaoka 120a6e
void cblas_chpr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float *alpha, float *X, blasint incX, float *Y, blasint incY,
Shinya Kitaoka 120a6e
                 float *Ap);
Shinya Kitaoka 120a6e
void cblas_zhpr2(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double *alpha, double *X, blasint incX, double *Y,
Shinya Kitaoka 120a6e
                 blasint incY, double *Ap);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_chbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, float *alpha, float *A, blasint lda, float *X,
Shinya Kitaoka 120a6e
                 blasint incX, float *beta, float *Y, blasint incY);
Shinya Kitaoka 120a6e
void cblas_zhbmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 blasint K, double *alpha, double *A, blasint lda, double *X,
Shinya Kitaoka 120a6e
                 blasint incX, double *beta, double *Y, blasint incY);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_chpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 float *alpha, float *Ap, float *X, blasint incX, float *beta,
Shinya Kitaoka 120a6e
                 float *Y, blasint incY);
Toshihiro Shimizu 890ddd
void cblas_zhpmv(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint N,
Shinya Kitaoka 120a6e
                 double *alpha, double *Ap, double *X, blasint incX,
Shinya Kitaoka 120a6e
                 double *beta, double *Y, blasint incY);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_sgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransB, blasint M, blasint N, blasint K,
Shinya Kitaoka 120a6e
                 float alpha, float *A, blasint lda, float *B, blasint ldb,
Shinya Kitaoka 120a6e
                 float beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_dgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransB, blasint M, blasint N, blasint K,
Shinya Kitaoka 120a6e
                 double alpha, double *A, blasint lda, double *B, blasint ldb,
Shinya Kitaoka 120a6e
                 double beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_cgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransB, blasint M, blasint N, blasint K,
Shinya Kitaoka 120a6e
                 float *alpha, float *A, blasint lda, float *B, blasint ldb,
Shinya Kitaoka 120a6e
                 float *beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE TransB, blasint M, blasint N, blasint K,
Shinya Kitaoka 120a6e
                 double *alpha, double *A, blasint lda, double *B, blasint ldb,
Shinya Kitaoka 120a6e
                 double *beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssymm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, float alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb, float beta,
Shinya Kitaoka 120a6e
                 float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_dsymm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, double alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb, double beta,
Shinya Kitaoka 120a6e
                 double *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_csymm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb, float *beta,
Shinya Kitaoka 120a6e
                 float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zsymm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb, double *beta,
Shinya Kitaoka 120a6e
                 double *C, blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssyrk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, float alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_dsyrk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, double alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_csyrk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, float *alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zsyrk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                 double *alpha, double *A, blasint lda, double *beta, double *C,
Shinya Kitaoka 120a6e
                 blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_ssyr2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, float alpha,
Shinya Kitaoka 120a6e
                  float *A, blasint lda, float *B, blasint ldb, float beta,
Shinya Kitaoka 120a6e
                  float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_dsyr2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                  double alpha, double *A, blasint lda, double *B, blasint ldb,
Shinya Kitaoka 120a6e
                  double beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_csyr2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                  float *alpha, float *A, blasint lda, float *B, blasint ldb,
Shinya Kitaoka 120a6e
                  float *beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zsyr2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                  double *alpha, double *A, blasint lda, double *B, blasint ldb,
Shinya Kitaoka 120a6e
                  double *beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_strmm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, float alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_dtrmm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, double alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_ctrmm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_ztrmm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_strsm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, float alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_dtrsm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, double alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_ctrsm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb);
Shinya Kitaoka 120a6e
void cblas_ztrsm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA,
Shinya Kitaoka 120a6e
                 enum CBLAS_DIAG Diag, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_chemm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, float *alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float *B, blasint ldb, float *beta,
Shinya Kitaoka 120a6e
                 float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zhemm(enum CBLAS_ORDER Order, enum CBLAS_SIDE Side,
Shinya Kitaoka 120a6e
                 enum CBLAS_UPLO Uplo, blasint M, blasint N, double *alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double *B, blasint ldb, double *beta,
Shinya Kitaoka 120a6e
                 double *C, blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_cherk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, float alpha,
Shinya Kitaoka 120a6e
                 float *A, blasint lda, float beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zherk(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                 enum CBLAS_TRANSPOSE Trans, blasint N, blasint K, double alpha,
Shinya Kitaoka 120a6e
                 double *A, blasint lda, double beta, double *C, blasint ldc);
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
void cblas_cher2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                  float *alpha, float *A, blasint lda, float *B, blasint ldb,
Shinya Kitaoka 120a6e
                  float beta, float *C, blasint ldc);
Shinya Kitaoka 120a6e
void cblas_zher2k(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo,
Shinya Kitaoka 120a6e
                  enum CBLAS_TRANSPOSE Trans, blasint N, blasint K,
Shinya Kitaoka 120a6e
                  double *alpha, double *A, blasint lda, double *B, blasint ldb,
Shinya Kitaoka 120a6e
                  double beta, double *C, blasint ldc);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void cblas_xerbla(blasint p, char *rout, char *form, ...);
Toshihiro Shimizu 890ddd
#endif