-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Labels
feature: new generic functionFeature request for a new generic function (i.e. with methods for all distributions)Feature request for a new generic function (i.e. with methods for all distributions)
Description
At a recent tutorial, someone brought up the following possibility for providing a nice syntax for location-scale distributions:
X = Normal(0, 1)
Y = 5X + 1
They also asked about adding two distributions together:
Z = Normal(1, 1) + Normal(2, 3)
I think we should provide a generic univariate SumDistribution and ProductDistribution, which we can special case for things like Gaussians. I am already working on the location-scale case and will open a PR today/tomorrow for it.
Metadata
Metadata
Assignees
Labels
feature: new generic functionFeature request for a new generic function (i.e. with methods for all distributions)Feature request for a new generic function (i.e. with methods for all distributions)