We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
var('a b c x', domain='real') A = (sin(a) * x^2+sin(b) *x + sin(c)) * exp(-x^2) Aint = A.integrate(x,-infinity,infinity)
A.imag() is 0
Aint.imag() is a long expression, which doesn't simplify to 0. This surprising for the user.
A slightly different example, actually a generalization of the one above, just works:
var('a b c x', domain='real') B = (a * x^2+b *x + c) * exp(-x^2) Bint = B.integrate(x,-infinity,infinity)
Examples can be found here: http://demo.sagenb.org/home/pub/179
CC: @kcrisman
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/11655
The text was updated successfully, but these errors were encountered:
This seems to be a missing rectform simplification because
sage: Aint.expand().simplify_rectform() 1/2*sqrt(pi)*sin(a) + sqrt(pi)*sin(c)
The bug is then rather that Maxima does it not in all cases.
Sorry, something went wrong.
burcin
No branches or pull requests
A.imag() is 0
Aint.imag() is a long expression, which doesn't simplify to 0. This surprising for the user.
A slightly different example, actually a generalization of the one above, just works:
Examples can be found here: http://demo.sagenb.org/home/pub/179
CC: @kcrisman
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/11655
The text was updated successfully, but these errors were encountered: