Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving _invert method in solveset #10971

Open
wants to merge 9 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@Shekharrajak
Copy link
Member

Shekharrajak commented Apr 5, 2016

Fixes #10864 and complex solution of #11096
Old solver have _tsolve to solve transcendental equation, but in solveset _invert method can handle some works of the _tsolve method.
One of them could be

x =symbols('x' , positive = True)
solveset(x**(y*z) - x,x,S.Reals)

@Shekharrajak

This comment has been minimized.

Copy link
Member Author

Shekharrajak commented Apr 5, 2016

I didn't understand
TypeError: Invalid comparison of complex -1 + I*pi
at line 390, in test_solveset_sqrt_2
same here

fixed now.

@@ -909,7 +909,7 @@ def test_improve_coverage():
x = Symbol('x')
y = exp(x+1/x**2)
solution = solveset(y**2+y, x, S.Reals)
unsolved_object = ConditionSet(x, Eq((exp((x**3 + 1)/x**2) + 1)*exp((x**3 + 1)/x**2), 0), S.Reals)
unsolved_object = ConditionSet(x, Eq(exp(x + x**(-2)) + exp(2*x + 2/x**2), 0), S.Reals)

This comment has been minimized.

Copy link
@Shekharrajak

Shekharrajak Apr 8, 2016

Author Member

same thing is written in different way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.