-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
solve should not convert floating point to rationals when solving #24939
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
We are following Maxima's lead here:
Note that our documentation states: The workaround would be to use SymPy:
|
comment:3
Replying to @rwst:
Though it make no sense in the present situation! And the meaning of "symbolic" is anyway very vague.
Much better :-) |
comment:4
Finally, see polynomial_element.pyx the roots() member where I inserted fast code that avoids calling Maxima for degree 2. I would be interested in taking over solving every polynomial that's possible in Pynac if I had support for it. It would make QQbar faster, because QQbar uses that code in roots() too. |
comment:5
Replying to @rwst:
This code in
the same with SR
Moreover having |
comment:6
Replying to @videlec:
To be clear: anything specific to |
comment:7
Replying to @videlec:
To be clear as well: that specialization was not introduced by me. I merely added a shortcut that no longer used Maxima. |
comment:8
Replying to @rwst:
Actually, this is not only true for |
comment:9
Coming back to the original problem the solution would be to insert a shortcut for inexact polynomial input in solve that uses other methods. The default |
comment:10
See |
The following (obtained on 8.2.beta6) is very bad
The input is an equation with floating point numbers (likely to be approximations). The answer obtained are exact symbolic expressions... it becomes crazy with
CC: @sagetrac-tmonteil @rwst
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/24939
The text was updated successfully, but these errors were encountered: