MCPcopy Index your code
hub / github.com/RustPython/RustPython / LognormalDist

Class LognormalDist

Lib/test/test_statistics.py:3272–3275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3270 # want a lognormal distribution to compare equal
3271 # to a normal distribution with the same parameters
3272 class LognormalDist:
3273 def __init__(self, mu, sigma):
3274 self.mu = mu
3275 self.sigma = sigma
3276 lnd = LognormalDist(100, 15)
3277 nd = NormalDist(100, 15)
3278 self.assertNotEqual(nd, lnd)

Callers 1

test_equalityMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_equalityMethod · 0.68