User Portlet User Portlet

Discussions
I am not currently a user of Mathematica, I am trying to figure out if it can do what I need first. As the title says, I'm interested in induced probability distributions. That is, given we choose a probability distribution for the input space to a...
PS. In case anyone misunderstands me, I don't mean that Mathematica would learn to parse other programming languages; I just mean that I could implement the same algorithm in Mathematica that I have in some other language, in order to gain novel...
Thanks, Henrik, yes it took me a while before I realized that Mathematica uses `=` for assignment. Apologies for the half-baked plea for help, I did figure it out by myself in the end. `n` is the size of the discrete random variable minus one, and...