MCPcopy Index your code
hub / github.com/numpy/numpy / _generate_data_complex

Method _generate_data_complex

numpy/_core/tests/test_numeric.py:2340–2341  ·  view source on GitHub ↗
(self, n, m)

Source from the content-addressed store, hash-verified

2338 return randn(n, m)
2339
2340 def _generate_data_complex(self, n, m):
2341 return randn(n, m) + 1.j * rand(n, m)
2342
2343 def _generate_flt_data(self, n, m):
2344 return (randn(n, m)).astype(np.float32)

Callers 1

test_simple_complexMethod · 0.95

Calls 2

randnFunction · 0.85
randFunction · 0.85

Tested by

no test coverage detected