Skip to main content
6 events
when toggle format what by license comment
Mar 21, 2016 at 23:47 history tweeted twitter.com/StackMma/status/712063229883764736
Mar 21, 2016 at 1:21 answer added Jack LaVigne timeline score: 2
Mar 20, 2016 at 22:59 comment added march Right. Missed that one. I still think Alternatives is the way to go, although I'm not sure if it has the same performance hit as using pattern tests. For instance, rule1 = Times[ayes__A, F] | Times[a_ ayes__A, F] | a_. F :> a func[Times[ayes], F];.
Mar 20, 2016 at 22:56 comment added QuantumDot @march It doesn't get the third expression properly, c + A[y] func[A[x], F]
Mar 20, 2016 at 22:23 comment added march Does this get them all? Times[a_. ayes__A, F] | a_. F :> a func[Times[ayes], F]?
Mar 20, 2016 at 22:04 history asked QuantumDot CC BY-SA 3.0