Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_laplace
Method
test_laplace
numpy/random/tests/test_smoke.py:321–323 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
319
assert_(len(vals) == 10)
320
321
def
test_laplace(self):
322
vals = self.rg.laplace(2.0, 2.0, 10)
323
assert_(len(vals) == 10)
324
325
def
test_logitic(self):
326
vals = self.rg.logistic(2.0, 2.0, 10)
Callers
nothing calls this directly
Calls
2
assert_
Function · 0.90
laplace
Method · 0.80
Tested by
no test coverage detected