| 556 | } |
| 557 | |
| 558 | static void |
| 559 | nc_sqrt( npy_intp n, npy_complex64 *x, npy_intp sb1, npy_complex64 *r) |
| 560 | { |
| 561 | if( sb1 == sizeof(npy_complex64) ) { // Aligned |
| 562 | for( npy_intp I = 0; I < n; I++ ) { |
| 563 | _inline_sqrt( x[I], r[I] ); |
| 564 | } |
| 565 | } |
| 566 | else { |
| 567 | sb1 /= sizeof(npy_complex64); |
| 568 | for( npy_intp I = 0; I < n; I++ ) { |
| 569 | _inline_sqrt( x[I*sb1], r[I] ); |
| 570 | } |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | static void |
| 575 | nc_sqrt( npy_intp n, npy_complex128 *x, npy_intp sb1, npy_complex128 *r) |
nothing calls this directly
no test coverage detected
searching dependent graphs…