13 const int N,
const double alpha,
const void *X,
14 const int incX,
void *A)
29 int n, i, tincx, incx=incX;
30 double *x=(
double *)X, *xx=(
double *)X, *tx, *st;
43 cblas_xerbla(2,
"cblas_zhpr",
"Illegal Uplo setting, %d\n",Uplo );
49 F77_UL = C2F_CHAR(&UL);
52 F77_zhpr(F77_UL, &F77_N, &alpha, X, &F77_incX, A);
61 cblas_xerbla(2,
"cblas_zhpr",
"Illegal Uplo setting, %d\n", Uplo);
67 F77_UL = C2F_CHAR(&UL);
72 x = malloc(n*
sizeof(
double));
99 else x = (
double *) X;
101 F77_zhpr(F77_UL, &F77_N, &alpha, x, &F77_incX, A);
105 cblas_xerbla(1,
"cblas_zhpr",
"Illegal layout setting, %d\n", layout);
void cblas_zhpr(const CBLAS_LAYOUT layout, const CBLAS_UPLO Uplo, const int N, const double alpha, const void *X, const int incX, void *A)
void cblas_xerbla(int p, const char *rout, const char *form,...)