MCPcopy Create free account
hub / github.com/pydata/numexpr / nc_log

Function nc_log

numexpr3/complex_functions.hpp:669–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669static void
670nc_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
685static void
686nc_log( npy_intp n, npy_complex128 *x, npy_intp sb1, npy_complex128 *r)

Callers

nothing calls this directly

Calls 1

_inline_logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…