| 667 | } |
| 668 | |
| 669 | static void |
| 670 | nc_log( npy_intp n, npy_complex64 *x, npy_intp sb1, npy_complex64 *r) |
| 671 | { |
| 672 | if( sb1 == sizeof(npy_complex64) ) { // Aligned |
| 673 | for( npy_intp I = 0; I < n; I++ ) { |
| 674 | _inline_log( x[I], r[I] ); |
| 675 | } |
| 676 | } |
| 677 | else { |
| 678 | sb1 /= sizeof(npy_complex64); |
| 679 | for( npy_intp I = 0; I < n; I++ ) { |
| 680 | _inline_log( x[I*sb1], r[I] ); |
| 681 | } |
| 682 | } |
| 683 | } |
| 684 | |
| 685 | static void |
| 686 | nc_log( npy_intp n, npy_complex128 *x, npy_intp sb1, npy_complex128 *r) |
nothing calls this directly
no test coverage detected
searching dependent graphs…