27 blas_gemm(
const int TA,
const int TB,
const int M,
const int N,
const int K,
28 const double ALPHA,
const double *A,
const int lda,
const double *B,
29 const int ldb,
const double BETA,
double *C,
const int ldc);
32 blas_axpy(
const int N,
const double ALPHA,
const double *X,
const int INCX,
33 double *Y,
const int INCY);
36 blas_mul(
const int N,
const double *X,
const int INCX,
double *Y,
40 blas_scal(
const int N,
const double ALPHA,
double *X,
const int INCX);
43 blas_fill(
const int N,
const double ALPHA,
double *X,
const int INCX);
46 blas_dot(
const int N,
const double *X,
const int INCX,
const double *Y,
50 blas_sum(
const double *X,
const int N);
void blas_fill(const int N, const double ALPHA, double *X, const int INCX)
Fills the vector X with the value ALPHA.
void blas_scal(const int N, const double ALPHA, double *X, const int INCX)
Scales vector X by the scalar ALPHA and overwrites it with the result.
double blas_sum(const double *X, const int N)
Returns the sum of the vector X.
double blas_dot(const int N, const double *X, const int INCX, const double *Y, const int INCY)
Computes the dot product of two vectors.
void blas_axpy(const int N, const double ALPHA, const double *X, const int INCX, double *Y, const int INCY)
Multiplies vector X by the scalar ALPHA and adds it to the vector Y.
void blas_mul(const int N, const double *X, const int INCX, double *Y, const int INCY)
Multiplies vector X by the vector Y and stores the result in vector Y.
void blas_gemm(const int TA, const int TB, const int M, const int N, const int K, const double ALPHA, const double *A, const int lda, const double *B, const int ldb, const double BETA, double *C, const int ldc)
Performs the matrix-matrix multiplication: .