We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I'm using Symbolics.jl to do some expression calculation, but today I found simplify function not work in case. Run these code
simplify
@variables x,y,z f = 4/(1-x^2-y^2-z^2)^2 D = Differential(x) fx = D(f) |> expand_derivatives |> simplify
gives
2x*(2 - 2(x^2) - 2(y^2) - 2(z^2))*(4 / ((1 - (x^2) - (y^2) - (z^2))^4))
The fraction is not canceled
However after I copy and paste then do simplify again:
julia> 2x*(2 - 2(x^2) - 2(y^2) - 2(z^2))*(4 / ((1 - (x^2) - (y^2) - (z^2))^4)) |> simplify (16.0x) / ((1 - (x^2) - (y^2) - (z^2))^3)
One see the desired fraction cancelation. What's wrong here, shouldn't they be the same expression?
The text was updated successfully, but these errors were encountered:
Forgot to say: Julia version 1.8.3 Symbolics v4.13.0
Sorry, something went wrong.
Well...This seems to be fixed in latest version. Closing...
No branches or pull requests
Hello, I'm using Symbolics.jl to do some expression calculation, but today I found
simplify
function not work in case.Run these code
gives
The fraction is not canceled
However after I copy and paste then do simplify again:
One see the desired fraction cancelation.
What's wrong here, shouldn't they be the same expression?
The text was updated successfully, but these errors were encountered: