42{
45
46 if( in == NULL || out == NULL ) return ;
47
51
55
56 return;
57 }
58 if( unit ) {
59
60 st = 1;
61 } else {
62
63 st = 0;
64 }
65
66
67
68
69
70
71 if( ( colmaj || lower ) && !( colmaj && lower ) ) {
72 for( j = st; j <
MIN( n, ldout ); j++ ) {
73 for( i = 0; i <
MIN( j+1-st, ldin ); i++ ) {
74 out[ j+i*ldout ] = in[ i+j*ldin ];
75 }
76 }
77 } else {
78 for( j = 0; j <
MIN( n-st, ldout ); j++ ) {
79 for( i = j+st; i <
MIN( n, ldin ); i++ ) {
80 out[ j+i*ldout ] = in[ i+j*ldin ];
81 }
82 }
83 }
84}
lapack_logical LAPACKE_lsame(char ca, char cb)