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

Method test_exp

numpy/random/tests/test_generator_mt19937.py:2555–2559  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2553 self.check_function(gen_random, sz=(10000,))
2554
2555 def test_exp(self):
2556 def gen_random(state, out):
2557 out[...] = state.exponential(scale=np.ones((100, 1000)))
2558
2559 self.check_function(gen_random, sz=(100, 1000))
2560
2561 def test_multinomial(self):
2562 def gen_random(state, out):

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected