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

Method test_multinomial

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

Source from the content-addressed store, hash-verified

1910 self.check_function(gen_random, sz=(100, 1000))
1911
1912 def test_multinomial(self):
1913 def gen_random(state, out):
1914 out[...] = state.multinomial(10, [1 / 6.] * 6, size=10000)
1915
1916 self.check_function(gen_random, sz=(10000, 6))
1917
1918
1919# See Issue #4263

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected