Substitution for Orderless Functions
- Subject: [mg2604] Substitution for Orderless Functions
- From: roberto at verao.cce.ufes.br (Roberto Colistete Junior)
- Date: Mon, 27 Nov 1995 21:35:03 -0500
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Wolfram Research, Inc.
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