171 for( i=0; i<*m; i++ )
172 for( j=0; j<*m; j++ )
173 A[i*LDA+j]=a[j*(*lda)+i];
178 for( i=0; i<*n; i++ )
179 for( j=0; j<*n; j++ )
180 A[i*LDA+j]=a[j*(*lda)+i];
184 for( i=0; i<*m; i++ )
185 for( j=0; j<*n; j++ )
186 B[i*LDB+j]=b[j*(*ldb)+i];
189 for( j=0; j<*n; j++ )
190 for( i=0; i<*m; i++ )
191 C[i*LDC+j]=c[j*(*ldc)+i];
192 cblas_csymm(
CblasRowMajor, side, uplo, *m, *n, alpha, A, LDA, B, LDB,
194 for( j=0; j<*n; j++ )
195 for( i=0; i<*m; i++ )
196 c[j*(*ldc)+i]=C[i*LDC+j];
202 cblas_csymm(
CblasColMajor, side, uplo, *m, *n, alpha, a, *lda, b, *ldb,
205 cblas_csymm(
UNDEFINED, side, uplo, *m, *n, alpha, a, *lda, b, *ldb,
void get_side_type(char *type, CBLAS_SIDE *side)
void cblas_csymm(CBLAS_LAYOUT layout, CBLAS_SIDE Side, CBLAS_UPLO Uplo, const int M, const int N, const void *alpha, const void *A, const int lda, const void *B, const int ldb, const void *beta, void *C, const int ldc)
void get_uplo_type(char *type, CBLAS_UPLO *uplo)