46 if( in == NULL || out == NULL ) return ;
71 if( !( colmaj || upper ) || ( colmaj && upper ) ) {
72 for( j = st; j < n; j++ ) {
73 for( i = 0; i < j+1-st; i++ ) {
74 out[ j-i + (i*(2*n-i+1))/2 ] = in[ ((j+1)*j)/2 + i ];
78 for( j = 0; j < n-st; j++ ) {
79 for( i = j+st; i < n; i++ ) {
80 out[ j + ((i+1)*i)/2 ] = in[ (j*(2*n-j+1))/2 + i-j ];
#define lapack_complex_double
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_ztp_trans(int matrix_layout, char uplo, char diag, lapack_int n, const lapack_complex_double *in, lapack_complex_double *out)