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

Method test_exp

numpy/random/tests/test_randomstate.py:1934–1938  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1932 self.check_function(gen_random, sz=(10000,))
1933
1934 def test_exp(self):
1935 def gen_random(state, out):
1936 out[...] = state.exponential(scale=np.ones((100, 1000)))
1937
1938 self.check_function(gen_random, sz=(100, 1000))
1939
1940 def test_multinomial(self):
1941 def gen_random(state, out):

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected