Comment #3 on issue 2955 by [email protected]: Function to compute the domain of a function
http://code.google.com/p/sympy/issues/detail?id=2955

FWIW, there is the denoms function in solvers that can help with this (I wrote this earlier today but can't seem to locate it now):

    >>> eq=(1+1/x)/(x-1)
    >>> from sympy.solvers.solvers import denoms
    >>> exclude = set()
    >>> for d in denoms(eq):
    ...  for s in solve(d):
    ...   exclude.add(s)
    ...
    >>> print exclude
    set([1, 0])


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to