Skip to main content
4 events
when toggle format what by license comment
Apr 5, 2012 at 18:17 comment added Leonid Shifrin @Jagra You have to somehow identify the piece in your function you want to extract. You did this by indicating position of it inside Piecewise, but were apparently unsatisfied because that was fragile. I agree. But to have it not fragile, the only option I see is to use conditions for this, at least if you want to do this programmatically.
Apr 5, 2012 at 18:17 comment added Rojo @Jagra, if you don't know the condition beforehand, explain in words how would you choose what expression you want to extract for the general case (in which you might have more than a single "big formula"
Apr 5, 2012 at 17:54 comment added Jagra @Leonid_Shifrin I'm confused. To get what I want with Refine, it seems I would need to know the condition(s) before hand. Identifying the conditions programmatically seems much like the same problem with which I started.
Apr 5, 2012 at 17:36 history answered Leonid Shifrin CC BY-SA 3.0