MCPcopy 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_doubleMethod · 0.95
test_array_doubleMethod · 0.95
test_simple_nonnativeMethod · 0.95
test_simple_complexMethod · 0.95
test_clip_non_contigMethod · 0.95
test_simple_outMethod · 0.95
test_simple_int32_outMethod · 0.95
test_type_cast_01Method · 0.95
test_type_cast_06Method · 0.95

Calls 1

randnFunction · 0.85

Tested by

no test coverage detected