MCPcopy Index your code
hub / github.com/numpy/numpy / test_standard_exponential_float_log

Method test_standard_exponential_float_log

numpy/random/tests/test_smoke.py:205–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 params_0(partial(rg.standard_exponential, dtype='float32'))
204
205 def test_standard_exponential_float_log(self):
206 rg = self._create_rng().rg
207 randoms = rg.standard_exponential(10, dtype='float32',
208 method='inv')
209 assert_(len(randoms) == 10)
210 assert randoms.dtype == np.float32
211 params_0(partial(rg.standard_exponential, dtype='float32',
212 method='inv'))
213
214 def test_standard_cauchy(self):
215 rg = self._create_rng().rg

Callers

nothing calls this directly

Calls 3

_create_rngMethod · 0.95
assert_Function · 0.90
params_0Function · 0.85

Tested by

no test coverage detected