Timeline for Making strict replacements in Mathematica
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2018 at 10:31 | comment | added | CAF |
Very late reply but is there a way to generalise this answer to allow products in the numerators? E.g n2/n3/n4/n5 + n1*n2/n3/n4/n5 /. PatternSort@{ n2/n3/n4/n5 -> a2, n1*n2/n3/n4/n5 -> e} will work but n2/n3/n4/n5 + n1*n2/n3/n4/n5 /. PatternSort@{n1*n2/n3/n4/n5 -> e,n2/n3/n4/n5 -> a2} will not
|
|
Sep 11, 2017 at 13:28 | history | answered | Lukas Lang | CC BY-SA 3.0 |