Skip to main content
3 events
when toggle format what by license comment
Jan 2, 2016 at 19:44 comment added Jack LaVigne That handles multipliers on f[a] fine. It doesn't handle the case where f[a] is an argument to a function. If your data only uses multipliers Cases[expr, _. f[a|b|c]] should work fine.
Jan 2, 2016 at 17:42 comment added QuantumDot Very nice. In a comment to Eldo, I mentioned using Cases[expr, _. f[a|b|c]] to capture the possibility f doesn't have a multiplier. What do you think?
Jan 2, 2016 at 17:00 history answered Jack LaVigne CC BY-SA 3.0