I had an idea that passes by declaring a new type of computer variable (like Integer, Double, etc.) that represents a statistical probability distribution (PDF), for that I would need to define the basic operations; sum, multiplication, inverse and negation.
The problem is that I have no idea of how to define such operations or if that is even possible. (I'm electrical engineer...)
So the question is; How to sum, multiply, inverse and negate probability distributions, or where can I learn how to do it. A numerical approach would be sufficient.
Thanks.