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

Method setSeed

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

Source from the content-addressed store, hash-verified

1057 self.seed = 123456789
1058
1059 def setSeed(self):
1060 np.random.seed(self.seed)
1061
1062 # TODO: Include test for randint once it can broadcast
1063 # Can steal the test written in PR #6938

Callers 15

test_uniformMethod · 0.95
test_normalMethod · 0.95
test_betaMethod · 0.95
test_exponentialMethod · 0.95
test_standard_gammaMethod · 0.95
test_gammaMethod · 0.95
test_fMethod · 0.95
test_noncentral_fMethod · 0.95
test_chisquareMethod · 0.95
test_standard_tMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected