Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
Dist.__init__(self)
def __init__(self, a=1):
Dist.__init__(self, a=a)
def __init__(self, a):
Dist.__init__(self, a=a)
def __init__(self, dist):
assert isinstance(dist, Dist)
Dist.__init__(self, dist=dist)
def __init__(self, dist):
"""
Constructor.
Args:
dist (Dist) : distribution.
"""
Dist.__init__(self, dist=dist)
self._repr = {"_": [dist]}
def __init__(self, a=1):
Dist.__init__(self, a=a)
def __init__(self, c=0):
Dist.__init__(self, c=c)
def __init__(self, a=1, c=1):
Dist.__init__(self, a=a, c=c)
def __init__(self, dist, base=2):
assert isinstance(dist, Dist)
assert numpy.all(dist.range() > 0)
assert base > 0 and base != 1
Dist.__init__(self, dist=dist, base=base)