Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _generate_data
Method
_generate_data
numpy/core/tests/test_numeric.py:1848–1849 ·
view source on GitHub ↗
(self, n, m)
Source
from the content-addressed store, hash-verified
1846
1847
# Handy functions
1848
def
_generate_data(self, n, m):
1849
return
randn(n, m)
1850
1851
def
_generate_data_complex(self, n, m):
1852
return
randn(n, m) + 1.j * rand(n, m)
Callers
15
test_simple_double
Method · 0.95
test_array_double
Method · 0.95
test_simple_nonnative
Method · 0.95
test_simple_complex
Method · 0.95
test_clip_non_contig
Method · 0.95
test_simple_out
Method · 0.95
test_simple_int32_out
Method · 0.95
test_simple_inplace_01
Method · 0.95
test_simple_inplace_02
Method · 0.95
test_noncontig_inplace
Method · 0.95
test_type_cast_01
Method · 0.95
test_type_cast_06
Method · 0.95
Calls
1
randn
Function · 0.85
Tested by
no test coverage detected