How to use the chaospy.distributions.operators.addition.Add.__init__ function in chaospy

To help you get started, we’ve selected a few chaospy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jonathf / chaospy / chaospy / distributions / collection / logistic.py View on Github external
def __init__(self, loc=0, scale=1, skew=1):
        self._repr = {"loc": loc, "scale": scale, "skew": skew}
        Add.__init__(self, left=logistic(skew)*scale, right=loc)
github jonathf / chaospy / chaospy / distributions / collection / nakagami.py View on Github external
def __init__(self, shape=1, scale=1, shift=0):
        self._repr = {"shape": shape, "scale": scale, "shift": shift}
        Add.__init__(self, nakagami(shape)*scale, shift)
github jonathf / chaospy / chaospy / distributions / collection / cauchy.py View on Github external
def __init__(self, loc=0, scale=1):
        self._repr = {"loc": loc, "scale": scale}
        Add.__init__(self, left=cauchy()*scale, right=loc)
github jonathf / chaospy / chaospy / distributions / collection / tukey_lambda.py View on Github external
def __init__(self, shape=0, scale=1, shift=0):
        self._repr = {"shape": shape, "scale": scale, "shift": shift}
        Add.__init__(self, left=tukey_lambda(shape)*scale, right=shift)
github jonathf / chaospy / chaospy / distributions / collection / log_weibull.py View on Github external
def __init__(self, scale=1, loc=0):
        self._repr = {"scale": scale, "loc": loc}
        Add.__init__(self, left=log_weibull()*scale, right=loc)
github jonathf / chaospy / chaospy / distributions / collection / wald.py View on Github external
def __init__(self, mu=1, scale=1, shift=0):
        self._repr = {"mu": mu, "scale": scale, "shift": shift}
        Add.__init__(self, left=wald(mu)*scale, right=shift)
github jonathf / chaospy / chaospy / distributions / collection / exponential_weibull.py View on Github external
def __init__(self, alpha=1, kappa=1, scale=1, shift=0):
        self._repr = {
            "alpha": alpha, "kappa": kappa, "scale": scale, "shift": shift}
        Add.__init__(
            self, left=exponential_weibull(alpha, kappa)*scale, right=shift)
github jonathf / chaospy / chaospy / distributions / collection / frechet.py View on Github external
def __init__(self, shape=1, scale=1, shift=0):
        self._repr = {"shape": shape, "scale": scale, "shift": shift}
        Add.__init__(self, left=frechet(shape)*scale, right=shift)
github jonathf / chaospy / chaospy / distributions / collection / chi.py View on Github external
def __init__(self, scale=1, shift=0):
        self._repr = {"scale": scale, "shift": shift}
        Add.__init__(self, left=chi(3)*scale, right=shift)