The current assumptions system doesn't support interval domains (unless the interval happens to be (-oo, oo), [0, oo), (0, oo), (oo, 0), or (oo, 0]). How exactly would you like the z Symbol to act? That is, where do you plan to use the doman assumption?
Aaron Meurer On Sun, Feb 19, 2012 at 1:20 AM, Nathan Alison <[email protected]> wrote: > 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. -- You received this message because you are subscribed to the Google Groups "sympy" group. 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.
