MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

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
   


  • Prev by Date: Re: Mathematica -> VRML?
  • Next by Date: Statistical expectation: HOW??
  • Previous by thread: Re: X-FrontEnd crashes upon certain keystrokes
  • Next by thread: Substitution for Orderless Functions