87{
89
91
96
101
103 }
104
105
111
112
113 if( front ) {
114 if( lower && m > n ) {
115 rect_offset = tri_n * ( !colmaj ? lda : 1 );
116 } else if( !lower && n > m ) {
117 rect_offset = tri_n * ( colmaj ? lda : 1 );
118 }
119 } else {
120 if( m > n ) {
121 tri_offset = rect_m * ( !colmaj ? lda : 1 );
122 if( !lower ) {
123 rect_offset = 0;
124 }
125 } else if( n > m ) {
126 tri_offset = rect_n * ( colmaj ? lda : 1 );
127 if( lower ) {
128 rect_offset = 0;
129 }
130 }
131 }
132
133
134 if( rect_offset >= 0 ) {
136 &a[rect_offset], lda) ) {
138 }
139 }
140
141
143 &a[tri_offset], lda );
144}
lapack_logical LAPACKE_lsame(char ca, char cb)
lapack_logical LAPACKE_cge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_float *a, lapack_int lda)
lapack_logical LAPACKE_ctr_nancheck(int matrix_layout, char uplo, char diag, lapack_int n, const lapack_complex_float *a, lapack_int lda)