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

Method test_multinomial

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

Source from the content-addressed store, hash-verified

1659 self.check_function(gen_random, sz=(100, 1000))
1660
1661 def test_multinomial(self):
1662 def gen_random(state, out):
1663 out[...] = state.multinomial(10, [1/6.]*6, size=10000)
1664 self.check_function(gen_random, sz=(10000, 6))
1665
1666
1667# See Issue #4263

Callers

nothing calls this directly

Calls 1

check_functionMethod · 0.95

Tested by

no test coverage detected