The current problem I'm working on it creating a better density function
for transformations of single random variables in sympy.stats. I'd like to
be able to do transform a random variable X and change its interval
expr = X**2 # Or exp(X) or (X + mu)/sigma or anything...
I = pspace(expr).domain.set # Usually [0, oo) or (-oo, oo) or [a,b]
z = Symbol('z', domain=lambdify(expr, X)(I))
Can anyone tell me how to do this with the current assumptions system?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/XhTQP8nXwiMJ.
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/sympy?hl=en.