Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _generate_data_complex
Method
_generate_data_complex
numpy/core/tests/test_numeric.py:1851–1852 ·
view source on GitHub ↗
(self, n, m)
Source
from the content-addressed store, hash-verified
1849
return
randn(n, m)
1850
1851
def
_generate_data_complex(self, n, m):
1852
return
randn(n, m) + 1.j * rand(n, m)
1853
1854
def
_generate_flt_data(self, n, m):
1855
return
(randn(n, m)).astype(np.float32)
Callers
1
test_simple_complex
Method · 0.95
Calls
2
randn
Function · 0.85
rand
Function · 0.85
Tested by
no test coverage detected