Join GitHub today
slow inverse_laplace_transform for easy poles in LH plane #13606
But change it to
Then change it to have
These functions have simple poles in the left have plane. They should be easy to invert.
This probably isn't easy to fix. The integral transforms are currently computed with the meijerg algorithm. If you don't know what's going on there, it could take some time to learn it.
What we should do is add some table lookups a la manualintegrate for the common integral transforms so that cases like this can be computed quickly.
It seems that most of the time is spent in
It looks like the expansion process is computing with large (thousands of ops) polynomial expressions. It should be investigated if those could be replaced by Polys.