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

Method test_multinomial

numpy/random/tests/test_random.py:1633–1636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1631 self.check_function(gen_random, sz=(100, 1000))
1632
1633 def test_multinomial(self):
1634 def gen_random(state, out):
1635 out[...] = state.multinomial(10, [1 / 6.] * 6, size=10000)
1636 self.check_function(gen_random, sz=(10000, 6))
1637
1638
1639# See Issue #4263

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected