Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _generate_flt_data
Method
_generate_flt_data
numpy/core/tests/test_numeric.py:1854–1855 ·
view source on GitHub ↗
(self, n, m)
Source
from the content-addressed store, hash-verified
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)
1856
1857
def
_neg_byteorder(self, a):
1858
a = np.asarray(a)
Callers
nothing calls this directly
Calls
2
randn
Function · 0.85
astype
Method · 0.80
Tested by
no test coverage detected