| 207 | } |
| 208 | |
| 209 | static void |
| 210 | nc_sub( npy_intp n, npy_complex64 *a, npy_intp sb1, npy_complex64 *b, npy_intp sb2, npy_complex64 *r ) |
| 211 | { |
| 212 | if( sb1 == sizeof(npy_complex64) && sb2 == sizeof(npy_complex64) ) { // Aligned |
| 213 | for( npy_intp I = 0; I < n; I++ ) { |
| 214 | _inline_sub( a[I], b[I], r[I] ); |
| 215 | } |
| 216 | } |
| 217 | else { |
| 218 | sb2 /= sizeof(npy_complex64); |
| 219 | sb1 /= sizeof(npy_complex64); |
| 220 | for( npy_intp I = 0; I < n; I++ ) { |
| 221 | _inline_sub( a[I*sb1], b[I*sb2], r[I] ); |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | static void |
| 227 | nc_sub( npy_intp n,npy_complex128 *a, npy_intp sb1, npy_complex128 *b, npy_intp sb2, npy_complex128 *r) |
nothing calls this directly
no test coverage detected
searching dependent graphs…