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

Function _inline_exp

numexpr3/complex_functions.hpp:737–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737static inline void
738_inline_exp( npy_complex64 x, npy_complex64 &r )
739{
740 npy_float32 a = exp(x.real);
741 r.real = a*cosf(x.imag);
742 r.imag = a*sinf(x.imag);
743}
744
745static inline void
746_inline_exp( npy_complex128 x, npy_complex128 &r )

Callers 2

nc_expFunction · 0.85
nc_powFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…