MCPcopy Create free account
hub / github.com/numpy/numpy / normals

Function normals

numpy/random/_examples/numba/extending_distributions.py:53–57  ·  view source on GitHub ↗
(n, bit_generator)

Source from the content-addressed store, hash-verified

51
52
53def normals(n, bit_generator):
54 out = np.empty(n)
55 for i in range(n):
56 out[i] = random_standard_normal(bit_generator)
57 return out
58
59
60normalsj = nb.jit(normals, nopython=True)

Callers

nothing calls this directly

Calls 1

random_standard_normalFunction · 0.85

Tested by

no test coverage detected