Re: ExpandAll Problem with Rules
- To: mathgroup at smc.vnet.net
- Subject: [mg50458] Re: ExpandAll Problem with Rules
- From: howard.fink at nyu.edu (Howard Fink)
- Date: Sat, 4 Sep 2004 01:43:51 -0400 (EDT)
- References: <ch982i$fgt$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
a(b + c) -> d(e + f) // InputForm // ExpandAll works. Try Trace[a(b + c) -> d(e + f) // ExpandAll ] for about ten pages of interesting output. Howard Fink "David Park" <djmp at earthlink.net> wrote in message news:<ch982i$fgt$1 at smc.vnet.net>... > The ExpandAll Help says... > > ExpandAll[expr] expands out all products and integer powers in any part of expr. > > The following works... > > a(b + c) == d(e + f) // ExpandAll > > a b + a c == d e + d f > > The following appears to work, but gives a strange error message. > > a(b + c) -> d(e + f) // ExpandAll > > General::argt: ExpandAll called with 0 arguments; 1 or 2 arguments are \ > expected > > a b + a c -> d e + d f > > David Park > djmp at earthlink.net > http://home.earthlink.net/~djmp/