Timeline for Simplifying expressions with `Sign` functions to a single piecewise format
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 12, 2021 at 10:45 | comment | added | Laplacian |
As explained in mathematica.stackexchange.com/questions/256765/… , my motivation for this question related to numerically integrate a function. I have a integrand that is a product of some function and the phase . I expect that by using PiecewiseExpand , I can locate where the sum over phase is nonzero. This makes me to integrate only in the subregion, thereby simplifying the problem.
|
|
Oct 12, 2021 at 2:41 | comment | added | Ronald Monson |
... might prod a wider response (e.g. what are equivalent outputs? which outputs make sense for your application? what is the motivation and why does it need to be PiecewiseExpand ed?)
|
|
Oct 12, 2021 at 2:38 | comment | added | Ronald Monson |
@eigenvalue Well I hope you weren't too impressed! The intent was to show that one should be a little suspicious of such wildly different outcomes both in the time taken and the resulting simplifications. And especially here where the timing out of ToPiecewise is perhaps the way with the most precedence followed by If , Which and finally the rarely used Switch for this usage. Hence while PiecewiseExpand is a powerful tool I would be carefully prodding and checking the equivalence of all outputs. I'm afraid don't have much time currently but perhaps providing some extra context ...
|
|
Oct 11, 2021 at 13:44 | comment | added | Laplacian | I was impressed by your answer! May I ask the subsequent question, explained in mathematica.stackexchange.com/questions/256765/… ? In this question, I want to perform a simple summation over the result that you find, but it takes a very long time... | |
Oct 11, 2021 at 1:57 | vote | accept | Laplacian | ||
Oct 11, 2021 at 1:48 | history | answered | Ronald Monson | CC BY-SA 4.0 |