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

Method test_multinomial

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

Source from the content-addressed store, hash-verified

1938 self.check_function(gen_random, sz=(100, 1000))
1939
1940 def test_multinomial(self):
1941 def gen_random(state, out):
1942 out[...] = state.multinomial(10, [1 / 6.] * 6, size=10000)
1943
1944 self.check_function(gen_random, sz=(10000, 6))
1945
1946
1947# See Issue #4263

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected