47 if( in == NULL || out == NULL )
return;
50 for( j = 0; j <
MIN( ldout, n ); j++ ) {
51 for( i =
MAX( ku-j, 0 ); i <
MIN3( ldin, m+ku-j, kl+ku+1 );
53 out[(size_t)i*ldout+j] = in[i+(
size_t)j*ldin];
60 for( j = 0; j <
MIN( n, ldin ); j++ ) {
61 for( i =
MAX( ku-j, 0 ); i <
MIN3( ldout, m+ku-j, kl+ku+1 );
63 out[i+(size_t)j*ldout] = in[(
size_t)i*ldin+j];
#define lapack_complex_double
void LAPACKE_zgb_trans(int matrix_layout, lapack_int m, lapack_int n, lapack_int kl, lapack_int ku, const lapack_complex_double *in, lapack_int ldin, lapack_complex_double *out, lapack_int ldout)