28void FC_FUNC(dscal, DSCAL)(
const fint *n,
const double *a,
const double *x,
30void FC_FUNC(daxpy, DAXPY)(
const fint *n,
const double *a,
const double *x,
31 const fint *incx,
double *y,
const fint *incy);
35void FC_FUNC(dazscal, DAZSCAL)(
const fint *n,
const double *restrict a,
38 const fint twon = 2 * n[0];
41 FC_FUNC(dscal, DSCAL)(&twon, a, x, &one);
44void FC_FUNC(dazaxpy, DAZAXPY)(
const fint *n,
const double *restrict a,
45 const double *restrict x,
double *restrict y) {
47 const fint twon = 2 * n[0];
50 FC_FUNC(daxpy, DAXPY)(&twon, a, x, &one, y, &one);
53void FC_FUNC(dgemm, DGEMM)(
const char *transa,
const char *transb,
55 const double *alpha,
const double *a,
56 const fint *lda,
const double *b,
const fint *ldb,
57 const double *beta,
double *c,
const fint *ldc);
64void FC_FUNC(zdgemm, ZDGEMM)(
const char *transa,
const char *transb,
66 const double *alpha,
const double *restrict a,
67 const fint *lda,
const double *restrict b,
68 const fint *ldb,
const double *beta,
69 double *restrict c,
const fint *ldc) {
71 (transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc);