Im trying to create the tensor product of two probability spaces using
the structure DiscreteProbabilitySpace.
Say we have
S=['head','tail']
P={'head':1/2,'tail':1/2}
Omega=DiscreteProbabilitySpace(S,P)

I want to construct OmegaxOmega equipped with the product probability
measure. It boils down to construct the dictionary

{['head','head']:1/4, ['head','tail']:1/4,....}

I can construct the cartesian product of S by itself but I can(t
construct a dictionary with SxS as indices since it is no longer
immutable (as far as I understood what was going on). How could I do
that ?

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to