| 735 | } |
| 736 | |
| 737 | static 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 | |
| 745 | static inline void |
| 746 | _inline_exp( npy_complex128 x, npy_complex128 &r ) |