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

Method complex64_func

numexpr3/tests/test_numexpr.py:218–221  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

216 def test_complex64(self):
217 logger.info( 'Test complex64 ' )
218 def complex64_func(a, b):
219 c = np.zeros(a.shape, dtype='complex64')
220 c.real = a; c.imag = b
221 return c
222
223 a = np.linspace( -1, 1, self.ssize, dtype='float32' )
224 b = np.linspace( -1, 1, self.ssize, dtype='float32' )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected