| 75 | } |
| 76 | |
| 77 | static void |
| 78 | nc_imag( npy_intp n, npy_complex64 *x, npy_intp sb1, npy_float32 *r) |
| 79 | { |
| 80 | if( sb1 == sizeof(npy_complex64) ) { // Aligned |
| 81 | for( npy_intp I = 0; I < n; I++ ) { |
| 82 | r[I] = x[I].imag; |
| 83 | } |
| 84 | } |
| 85 | else { |
| 86 | sb1 /= sizeof(npy_complex64); |
| 87 | for( npy_intp I = 0; I < n; I++ ) { |
| 88 | r[I] = x[I*sb1].imag; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | static void |
| 94 | nc_imag( npy_intp n, npy_complex128 *x, npy_intp sb1, npy_float64 *r) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…