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

Function nc_neg

numexpr3/complex_functions.hpp:257–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static void
258nc_neg( npy_intp n,npy_complex64 *a, npy_intp sb1, npy_complex64 *r)
259{
260 if( sb1 == sizeof(npy_complex64) ) { // Aligned
261 for( npy_intp I = 0; I < n; I++ ) {
262 _inline_neg( a[I], r[I] );
263 }
264 }
265 else {
266 sb1 /= sizeof(npy_complex64);
267 for( npy_intp I = 0; I < n; I++ ) {
268 _inline_neg( a[I*sb1], r[I] );
269 }
270 }
271}
272
273static void
274nc_neg( npy_intp n,npy_complex128 *a, npy_intp sb1, npy_complex128 *r)

Callers

nothing calls this directly

Calls 1

_inline_negFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…