323 {
328
331
334 LDA = *k+1;
335 LDB = *k+1;
338 for( i=0; i<*n; i++ )
339 for( j=0; j<*k; j++ ) {
344 }
345 }
346 else {
347 LDA = *n+1;
348 LDB = *n+1;
351 for( i=0; i<*k; i++ )
352 for( j=0; j<*n; j++ ){
357 }
358 }
359 LDC = *n+1;
361 for( i=0; i<*n; i++ )
362 for( j=0; j<*n; j++ ) {
365 }
367 B, LDB, *beta, C, LDC );
368 for( j=0; j<*n; j++ )
369 for( i=0; i<*n; i++ ) {
372 }
373 free(A);
374 free(B);
375 free(C);
376 }
379 b, *ldb, *beta, c, *ldc );
380 else
382 b, *ldb, *beta, c, *ldc );
383}
void cblas_cher2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const float beta, void *C, const CBLAS_INT ldc)
void get_uplo_type(char *type, CBLAS_UPLO *uplo)
void get_transpose_type(char *type, CBLAS_TRANSPOSE *trans)