14 const void *beta,
void *y,
CBLAS_INT *incy) {
25 for( j=0; j<*n; j++ ){
26 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
27 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
35 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy );
38 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy );
54 for( i=0; i<*ku; i++ ){
57 for( j=jcol; j<*n; j++ ){
58 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
59 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
64 for( j=0; j<*n; j++ ){
65 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
66 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
68 for( i=*ku+1; i<*ku+*kl+1; i++ ){
71 for( j=jcol; j<(*n+*kl); j++ ){
72 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
73 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
76 cblas_zgbmv(
CblasRowMajor, trans, *m, *n, *kl, *ku, alpha, A, LDA, x,
77 *incx, beta, y, *incy );
81 cblas_zgbmv(
CblasColMajor, trans, *m, *n, *kl, *ku, alpha, a, *lda, x,
82 *incx, beta, y, *incy );
84 cblas_zgbmv(
UNDEFINED, trans, *m, *n, *kl, *ku, alpha, a, *lda, x,
85 *incx, beta, y, *incy );
99 for( j=0; j<*n; j++ ){
100 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
101 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
104 for( i=0; i<*m; i++ )
105 for( j=0; j<*n; j++ ){
106 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
107 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
126 for( i=0; i<*m; i++ )
127 for( j=0; j<*n; j++ ){
128 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
129 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
132 for( i=0; i<*m; i++ )
133 for( j=0; j<*n; j++ ){
134 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
135 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
158 for( i=0; i<*n; i++ )
159 for( j=0; j<*n; j++ ){
160 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
161 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
190 *incx, beta, y, *incy );
195 for( i=0; i<*k; i++ ){
198 for( j=jcol; j<*n; j++ ) {
199 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
200 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
205 for( j=0; j<*n; j++ ) {
206 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
207 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
213 for( j=0; j<*n; j++ ) {
214 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
215 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
217 for( i=1; i<*k+1; i++ ){
220 for( j=jcol; j<(*n+*k); j++ ) {
221 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
222 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
258 for( j=0, k=0; j<*n; j++ )
259 for( i=0; i<j+1; i++, k++ ) {
263 for( i=0, k=0; i<*n; i++ )
264 for( j=i; j<*n; j++, k++ ) {
270 for( j=0, k=0; j<*n; j++ )
271 for( i=j; i<*n; i++, k++ ) {
275 for( i=0, k=0; i<*n; i++ )
276 for( j=0; j<i+1; j++, k++ ) {
316 for( i=0; i<*k; i++ ){
319 for( j=jcol; j<*n; j++ ) {
320 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
321 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
326 for( j=0; j<*n; j++ ) {
327 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
328 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
334 for( j=0; j<*n; j++ ) {
335 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
336 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
338 for( i=1; i<*k+1; i++ ){
341 for( j=jcol; j<(*n+*k); j++ ) {
342 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
343 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
380 for( i=0; i<*k; i++ ){
383 for( j=jcol; j<*n; j++ ) {
384 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].
real;
385 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].
imag;
390 for( j=0; j<*n; j++ ) {
391 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
392 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
398 for( j=0; j<*n; j++ ) {
399 A[ LDA*j+irow ].
real=a[ (*lda)*j+i ].
real;
400 A[ LDA*j+irow ].
imag=a[ (*lda)*j+i ].
imag;
402 for( i=1; i<*k+1; i++ ){
405 for( j=jcol; j<(*n+*k); j++ ) {
406 A[ LDA*j+irow ].
real=a[ (*lda)*(j-jcol)+i ].real;
407 A[ LDA*j+irow ].
imag=a[ (*lda)*(j-jcol)+i ].imag;
443 for( j=0, k=0; j<*n; j++ )
444 for( i=0; i<j+1; i++, k++ ) {
448 for( i=0, k=0; i<*n; i++ )
449 for( j=i; j<*n; j++, k++ ) {
455 for( j=0, k=0; j<*n; j++ )
456 for( i=j; i<*n; i++, k++ ) {
460 for( i=0, k=0; i<*n; i++ )
461 for( j=0; j<i+1; j++, k++ ) {
498 for( j=0, k=0; j<*n; j++ )
499 for( i=0; i<j+1; i++, k++ ) {
503 for( i=0, k=0; i<*n; i++ )
504 for( j=i; j<*n; j++, k++ ) {
510 for( j=0, k=0; j<*n; j++ )
511 for( i=j; i<*n; i++, k++ ) {
515 for( i=0, k=0; i<*n; i++ )
516 for( j=0; j<i+1; j++, k++ ) {
548 for( i=0; i<*n; i++ )
549 for( j=0; j<*n; j++ ) {
550 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
551 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
577 for( i=0; i<*n; i++ )
578 for( j=0; j<*n; j++ ) {
579 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
580 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
608 for( j=0, k=0; j<*n; j++ )
609 for( i=0; i<j+1; i++, k++ ){
613 for( i=0, k=0; i<*n; i++ )
614 for( j=i; j<*n; j++, k++ ){
620 for( j=0, k=0; j<*n; j++ )
621 for( i=j; i<*n; i++, k++ ){
625 for( i=0, k=0; i<*n; i++ )
626 for( j=0; j<i+1; j++, k++ ){
633 for( i=0, k=0; i<*n; i++ )
634 for( j=i; j<*n; j++, k++ ){
638 for( j=0, k=0; j<*n; j++ )
639 for( i=0; i<j+1; i++, k++ ){
645 for( i=0, k=0; i<*n; i++ )
646 for( j=0; j<i+1; j++, k++ ){
650 for( j=0, k=0; j<*n; j++ )
651 for( i=j; i<*n; i++, k++ ){
685 for( j=0, k=0; j<*n; j++ )
686 for( i=0; i<j+1; i++, k++ ) {
690 for( i=0, k=0; i<*n; i++ )
691 for( j=i; j<*n; j++, k++ ) {
697 for( j=0, k=0; j<*n; j++ )
698 for( i=j; i<*n; i++, k++ ) {
702 for( i=0, k=0; i<*n; i++ )
703 for( j=0; j<i+1; j++, k++ ) {
710 for( i=0, k=0; i<*n; i++ )
711 for( j=i; j<*n; j++, k++ ) {
715 for( j=0, k=0; j<*n; j++ )
716 for( i=0; i<j+1; i++, k++ ) {
722 for( i=0, k=0; i<*n; i++ )
723 for( j=0; j<i+1; j++, k++ ) {
727 for( j=0, k=0; j<*n; j++ )
728 for( i=j; i<*n; i++, k++ ) {
755 for( i=0; i<*n; i++ )
756 for( j=0; j<*n; j++ ) {
757 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
758 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
762 for( i=0; i<*n; i++ )
763 for( j=0; j<*n; j++ ) {
764 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
765 a[ (*lda)*j+i ].
imag=A[ LDA*i+j ].
imag;
789 for( i=0; i<*n; i++ )
790 for( j=0; j<*n; j++ ) {
791 A[ LDA*i+j ].
real=a[ (*lda)*j+i ].
real;
792 A[ LDA*i+j ].
imag=a[ (*lda)*j+i ].
imag;
796 for( i=0; i<*n; i++ )
797 for( j=0; j<*n; j++ ) {
798 a[ (*lda)*j+i ].
real=A[ LDA*i+j ].
real;
799 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)
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)