387 {
392
395
398 LDA = *k+1;
399 LDB = *k+1;
402 for( i=0; i<*n; i++ )
403 for( j=0; j<*k; j++ ) {
408 }
409 }
410 else {
411 LDA = *n+1;
412 LDB = *n+1;
415 for( i=0; i<*k; i++ )
416 for( j=0; j<*n; j++ ){
421 }
422 }
423 LDC = *n+1;
425 for( i=0; i<*n; i++ )
426 for( j=0; j<*n; j++ ) {
429 }
431 B, LDB, beta, C, LDC );
432 for( j=0; j<*n; j++ )
433 for( i=0; i<*n; i++ ) {
436 }
437 free(A);
438 free(B);
439 free(C);
440 }
443 b, *ldb, beta, c, *ldc );
444 else
446 b, *ldb, beta, c, *ldc );
447}
void cblas_csyr2k(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 void *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)