Code
Hub
Trending
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ _generate_data
Method
_generate_data
numpy/_core/tests/test_numeric.py:2337–2338 ·
view source on GitHub ↗
(self, n, m)
Source
from the content-addressed store, hash-verified
2335
2336
# Handy functions
2337
def
_generate_data(self, n, m):
2338
return
randn(n, m)
2339
2340
def
_generate_data_complex(self, n, m):
2341
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