Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_exponential
Method
test_exponential
numpy/random/tests/test_smoke.py:299–302 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
297
params_1(self.rg.chisquare)
298
299
def
test_exponential(self):
300
vals = self.rg.exponential(2.0, 10)
301
assert_(len(vals) == 10)
302
params_1(self.rg.exponential)
303
304
def
test_f(self):
305
vals = self.rg.f(3, 1000, 10)
Callers
nothing calls this directly
Calls
2
assert_
Function · 0.90
params_1
Function · 0.85
Tested by
no test coverage detected