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

Function nc_mul

numexpr3/complex_functions.hpp:395–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395static void
396nc_mul( npy_intp n, npy_complex64 *a, npy_intp sb1, npy_complex64 *b, npy_intp sb2, npy_complex64 *r)
397{
398 if( sb1 == sizeof(npy_complex64) && sb2 == sizeof(npy_complex64) ) { // Aligned
399 for( npy_intp I = 0; I < n; I++ ) {
400 _inline_mul( a[I], b[I], r[I] );
401 }
402 }
403 else {
404 sb2 /= sizeof(npy_complex64);
405 sb1 /= sizeof(npy_complex64);
406 for( npy_intp I = 0; I < n; I++ ) {
407 _inline_mul( a[I*sb1], b[I*sb2], r[I] );
408 }
409 }
410}
411
412static void
413nc_mul( npy_intp n, npy_complex128 *a, npy_intp sb1, npy_complex128 *b, npy_intp sb2, npy_complex128 *r)

Callers

nothing calls this directly

Calls 1

_inline_mulFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…