14 const void *beta,
void *y,
CBLAS_INT *incy
29 for( j=0; j<*n; j++ ){
30 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
31 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
39 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy );
42 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy );
62 for( i=0; i<*ku; i++ ){
65 for( j=jcol; j<*n; j++ ){
66 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
67 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
72 for( j=0; j<*n; j++ ){
73 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
74 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
76 for( i=*ku+1; i<*ku+*kl+1; i++ ){
79 for( j=jcol; j<(*n+*kl); j++ ){
80 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
81 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
84 cblas_zgbmv(
CblasRowMajor, trans, *m, *n, *kl, *ku, alpha, A, LDA, x,
85 *incx, beta, y, *incy );
89 cblas_zgbmv(
CblasColMajor, trans, *m, *n, *kl, *ku, alpha, a, *lda, x,
90 *incx, beta, y, *incy );
92 cblas_zgbmv(
UNDEFINED, trans, *m, *n, *kl, *ku, alpha, a, *lda, x,
93 *incx, beta, y, *incy );
106 for( i=0; i<*m; i++ )
107 for( j=0; j<*n; j++ ){
108 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
109 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
112 for( i=0; i<*m; i++ )
113 for( j=0; j<*n; j++ ){
114 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
115 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
134 for( i=0; i<*m; i++ )
135 for( j=0; j<*n; j++ ){
136 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
137 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
140 for( i=0; i<*m; i++ )
141 for( j=0; j<*n; j++ ){
142 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
143 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
170 for( i=0; i<*n; i++ )
171 for( j=0; j<*n; j++ ){
172 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
173 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
206 *incx, beta, y, *incy );
211 for( i=0; i<*k; i++ ){
214 for( j=jcol; j<*n; j++ ) {
215 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
216 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
221 for( j=0; j<*n; j++ ) {
222 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
223 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
229 for( j=0; j<*n; j++ ) {
230 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
231 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
233 for( i=1; i<*k+1; i++ ){
236 for( j=jcol; j<(*n+*k); j++ ) {
237 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
238 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
278 for( j=0, k=0; j<*n; j++ )
279 for( i=0; i<j+1; i++, k++ ) {
283 for( i=0, k=0; i<*n; i++ )
284 for( j=i; j<*n; j++, k++ ) {
290 for( j=0, k=0; j<*n; j++ )
291 for( i=j; i<*n; i++, k++ ) {
295 for( i=0, k=0; i<*n; i++ )
296 for( j=0; j<i+1; j++, k++ ) {
340 for( i=0; i<*k; i++ ){
343 for( j=jcol; j<*n; j++ ) {
344 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
345 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
350 for( j=0; j<*n; j++ ) {
351 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
352 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
358 for( j=0; j<*n; j++ ) {
359 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
360 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
362 for( i=1; i<*k+1; i++ ){
365 for( j=jcol; j<(*n+*k); j++ ) {
366 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
367 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
408 for( i=0; i<*k; i++ ){
411 for( j=jcol; j<*n; j++ ) {
412 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
413 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
418 for( j=0; j<*n; j++ ) {
419 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
420 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
426 for( j=0; j<*n; j++ ) {
427 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
428 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
430 for( i=1; i<*k+1; i++ ){
433 for( j=jcol; j<(*n+*k); j++ ) {
434 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
435 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
475 for( j=0, k=0; j<*n; j++ )
476 for( i=0; i<j+1; i++, k++ ) {
480 for( i=0, k=0; i<*n; i++ )
481 for( j=i; j<*n; j++, k++ ) {
487 for( j=0, k=0; j<*n; j++ )
488 for( i=j; i<*n; i++, k++ ) {
492 for( i=0, k=0; i<*n; i++ )
493 for( j=0; j<i+1; j++, k++ ) {
534 for( j=0, k=0; j<*n; j++ )
535 for( i=0; i<j+1; i++, k++ ) {
539 for( i=0, k=0; i<*n; i++ )
540 for( j=i; j<*n; j++, k++ ) {
546 for( j=0, k=0; j<*n; j++ )
547 for( i=j; i<*n; i++, k++ ) {
551 for( i=0, k=0; i<*n; i++ )
552 for( j=0; j<i+1; j++, k++ ) {
588 for( i=0; i<*n; i++ )
589 for( j=0; j<*n; j++ ) {
590 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
591 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
621 for( i=0; i<*n; i++ )
622 for( j=0; j<*n; j++ ) {
623 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
624 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
656 for( j=0, k=0; j<*n; j++ )
657 for( i=0; i<j+1; i++, k++ ){
658 A[ LDA*i+j ].
real=ap[ k ].real;
659 A[ LDA*i+j ].
imag=ap[ k ].imag;
661 for( i=0, k=0; i<*n; i++ )
662 for( j=i; j<*n; j++, k++ ){
668 for( j=0, k=0; j<*n; j++ )
669 for( i=j; i<*n; i++, k++ ){
670 A[ LDA*i+j ].
real=ap[ k ].real;
671 A[ LDA*i+j ].
imag=ap[ k ].imag;
673 for( i=0, k=0; i<*n; i++ )
674 for( j=0; j<i+1; j++, k++ ){
681 for( i=0, k=0; i<*n; i++ )
682 for( j=i; j<*n; j++, k++ ){
686 for( j=0, k=0; j<*n; j++ )
687 for( i=0; i<j+1; i++, k++ ){
688 ap[ k ].real=A[ LDA*i+j ].
real;
689 ap[ k ].imag=A[ LDA*i+j ].
imag;
693 for( i=0, k=0; i<*n; i++ )
694 for( j=0; j<i+1; j++, k++ ){
698 for( j=0, k=0; j<*n; j++ )
699 for( i=j; i<*n; i++, k++ ){
700 ap[ k ].real=A[ LDA*i+j ].
real;
701 ap[ k ].imag=A[ LDA*i+j ].
imag;
737 for( j=0, k=0; j<*n; j++ )
738 for( i=0; i<j+1; i++, k++ ) {
739 A[ LDA*i+j ].
real=ap[ k ].real;
740 A[ LDA*i+j ].
imag=ap[ k ].imag;
742 for( i=0, k=0; i<*n; i++ )
743 for( j=i; j<*n; j++, k++ ) {
749 for( j=0, k=0; j<*n; j++ )
750 for( i=j; i<*n; i++, k++ ) {
751 A[ LDA*i+j ].
real=ap[ k ].real;
752 A[ LDA*i+j ].
imag=ap[ k ].imag;
754 for( i=0, k=0; i<*n; i++ )
755 for( j=0; j<i+1; j++, k++ ) {
762 for( i=0, k=0; i<*n; i++ )
763 for( j=i; j<*n; j++, k++ ) {
767 for( j=0, k=0; j<*n; j++ )
768 for( i=0; i<j+1; i++, k++ ) {
769 ap[ k ].real=A[ LDA*i+j ].
real;
770 ap[ k ].imag=A[ LDA*i+j ].
imag;
774 for( i=0, k=0; i<*n; i++ )
775 for( j=0; j<i+1; j++, k++ ) {
779 for( j=0, k=0; j<*n; j++ )
780 for( i=j; i<*n; i++, k++ ) {
781 ap[ k ].real=A[ LDA*i+j ].
real;
782 ap[ k ].imag=A[ LDA*i+j ].
imag;
811 for( i=0; i<*n; i++ )
812 for( j=0; j<*n; j++ ) {
813 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
814 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
818 for( i=0; i<*n; i++ )
819 for( j=0; j<*n; j++ ) {
820 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
821 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
849 for( i=0; i<*n; i++ )
850 for( j=0; j<*n; j++ ) {
851 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
852 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
856 for( i=0; i<*n; i++ )
857 for( j=0; j<*n; j++ ) {
858 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
859 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
void cblas_ztbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const CBLAS_INT K, const void *A, const CBLAS_INT lda, void *X, const CBLAS_INT incX)
void cblas_ztpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const void *Ap, void *X, const CBLAS_INT incX)
void cblas_ztpsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const void *Ap, void *X, const CBLAS_INT incX)
void cblas_zgbmv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT KL, const CBLAS_INT KU, const void *alpha, const void *A, const CBLAS_INT lda, const void *X, const CBLAS_INT incX, const void *beta, void *Y, const CBLAS_INT incY)
void cblas_zher(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const double alpha, const void *X, const CBLAS_INT incX, void *A, const CBLAS_INT lda)
void cblas_ztbsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const CBLAS_INT K, const void *A, const CBLAS_INT lda, void *X, const CBLAS_INT incX)
void cblas_zgeru(CBLAS_LAYOUT layout, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *X, const CBLAS_INT incX, const void *Y, const CBLAS_INT incY, void *A, const CBLAS_INT lda)
void cblas_zhpr2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const void *alpha, const void *X, const CBLAS_INT incX, const void *Y, const CBLAS_INT incY, void *Ap)
void cblas_zhpmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const void *alpha, const void *Ap, const void *X, const CBLAS_INT incX, const void *beta, void *Y, const CBLAS_INT incY)
void cblas_zgemv(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, const void *X, const CBLAS_INT incX, const void *beta, void *Y, const CBLAS_INT incY)
void cblas_zher2(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const void *alpha, const void *X, const CBLAS_INT incX, const void *Y, const CBLAS_INT incY, void *A, const CBLAS_INT lda)
void cblas_zgerc(CBLAS_LAYOUT layout, const CBLAS_INT M, const CBLAS_INT N, const void *alpha, const void *X, const CBLAS_INT incX, const void *Y, const CBLAS_INT incY, void *A, const CBLAS_INT lda)
void cblas_ztrsv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const void *A, const CBLAS_INT lda, void *X, const CBLAS_INT incX)
void cblas_ztrmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, CBLAS_TRANSPOSE TransA, CBLAS_DIAG Diag, const CBLAS_INT N, const void *A, const CBLAS_INT lda, void *X, const CBLAS_INT incX)
void cblas_zhpr(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const double alpha, const void *X, const CBLAS_INT incX, void *A)
void cblas_zhbmv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *X, const CBLAS_INT incX, const void *beta, void *Y, const CBLAS_INT incY)
void cblas_zhemv(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo, const CBLAS_INT N, const void *alpha, const void *A, const CBLAS_INT lda, const void *X, const CBLAS_INT incX, const void *beta, void *Y, const CBLAS_INT incY)
#define BLAS_FORTRAN_STRLEN_END
void get_diag_type(char *type, CBLAS_DIAG *diag)
void get_uplo_type(char *type, CBLAS_UPLO *uplo)
void get_transpose_type(char *type, CBLAS_TRANSPOSE *trans)