Substitution for Orderless Functions
- To: mathgroup at smc.vnet.net
- Subject: [mg2604] Substitution for Orderless Functions
- From: Roberto Colistete Junior <roberto at verao.cce.ufes.br>
- Date: Mon, 27 Nov 1995 21:35:03 -0500
Given the example : expr = f[a b c] + g[b c d] Does anyone know a function to substitute the common elements of Orderless functions (like Plus and Time) ? It would be something like this : SubstituteOrdeless [expr] {f[a C[1]] + g[d C[1]], {C[1] -> b c}} I'm developing a simple one, so any suggestions are welcome. Thanks in advance, Roberto Colistete Junior (roberto at cce.ufes.br) Departamento de Fisica Universidade Federal do Espirito Santo Brasil