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
Improvement of inequalities in solveset #13905
Comments
Given that you want to solve for x, then yes, even in the complex domain, it should give open(-00,2). But the exception is simply says that solving inequalities in complex domain isn't implemented yet, |
Yah you are right. Apparently, there are ways to compare complex numbers too which can be used here such as |
It doesn't make sense to talk about inequalities of complex numbers without redefining the usual definition of inequality. Shouldn't the variables just be assumed to be real here? |
Kinda right what you said. But I said comparing like |
@ethankward It makes sense to talk about solving, say, abs(z) <= 1 and im(z) >= 1 where z is a complex number (solution: z = I). |
Current master returns |
For time being, solveset gives following error if we try it for inequalities without passing its domain as
S.Reals
(for example: onsolveset(x<2,x)
) :inequalities in the complex domain are not supported. Try the real domain by setting domain=S.Reals
This gives
open(-oo,2)
if we explicitly makedomain=S.Reals
But as all real numbers are a proper subset of complex numbers, therefore it should give the above result even for a complex domain.
The text was updated successfully, but these errors were encountered: