MCPcopy Index your code
hub / github.com/numpy/numpy / _generate_int_data

Method _generate_int_data

numpy/_core/tests/test_numeric.py:2360–2361  ·  view source on GitHub ↗
(self, n, m)

Source from the content-addressed store, hash-verified

2358 return data
2359
2360 def _generate_int_data(self, n, m):
2361 return (10 * rand(n, m)).astype(np.int64)
2362
2363 def _generate_int32_data(self, n, m):
2364 return (10 * rand(n, m)).astype(np.int32)

Callers 5

test_simple_intMethod · 0.95
test_type_cast_02Method · 0.95
test_type_cast_05Method · 0.95
test_type_cast_10Method · 0.95
test_type_cast_12Method · 0.95

Calls 2

randFunction · 0.85
astypeMethod · 0.80

Tested by

no test coverage detected