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

Method _generate_flt_data

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

Source from the content-addressed store, hash-verified

2341 return randn(n, m) + 1.j * rand(n, m)
2342
2343 def _generate_flt_data(self, n, m):
2344 return (randn(n, m)).astype(np.float32)
2345
2346 def _neg_byteorder(self, a):
2347 a = np.asarray(a)

Callers

nothing calls this directly

Calls 2

randnFunction · 0.85
astypeMethod · 0.80

Tested by

no test coverage detected