MCPcopy 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_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