Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ set_seed
Method
set_seed
numpy/random/tests/test_randomstate.py:1319–1320 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1317
self.seed = 123456789
1318
1319
def
set_seed(self):
1320
random.seed(self.seed)
1321
1322
def
test_uniform(self):
1323
low = [0]
Callers
15
test_uniform
Method · 0.95
test_normal
Method · 0.95
test_beta
Method · 0.95
test_exponential
Method · 0.95
test_standard_gamma
Method · 0.95
test_gamma
Method · 0.95
test_f
Method · 0.95
test_noncentral_f
Method · 0.95
test_noncentral_f_small_df
Method · 0.95
test_chisquare
Method · 0.95
test_noncentral_chisquare
Method · 0.95
test_standard_t
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected