93 {
94
99
102
105 LDA = *m+1;
107 for( i=0; i<*m; i++ )
108 for( j=0; j<*m; j++ ) {
111 }
112 }
113 else{
114 LDA = *n+1;
116 for( i=0; i<*n; i++ )
117 for( j=0; j<*n; j++ ) {
120 }
121 }
122 LDB = *n+1;
124 for( i=0; i<*m; i++ )
125 for( j=0; j<*n; j++ ) {
128 }
129 LDC = *n+1;
131 for( j=0; j<*n; j++ )
132 for( i=0; i<*m; i++ ) {
135 }
136 cblas_chemm(
CblasRowMajor, side, uplo, *m, *n, alpha, A, LDA, B, LDB,
137 beta, C, LDC );
138 for( j=0; j<*n; j++ )
139 for( i=0; i<*m; i++ ) {
142 }
143 free(A);
144 free(B);
145 free(C);
146 }
148 cblas_chemm(
CblasColMajor, side, uplo, *m, *n, alpha, a, *lda, b, *ldb,
149 beta, c, *ldc );
150 else
151 cblas_chemm(
UNDEFINED, side, uplo, *m, *n, alpha, a, *lda, b, *ldb,
152 beta, c, *ldc );
153}
void cblas_chemm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const CBLAS_INT M, const CBLAS_INT N, 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_side_type(char *type, CBLAS_SIDE *side)
void get_uplo_type(char *type, CBLAS_UPLO *uplo)