Re: ExpandAll Problem with Rules
- To: mathgroup at smc.vnet.net
- Subject: [mg50450] Re: [mg50431] ExpandAll Problem with Rules
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sat, 4 Sep 2004 01:43:28 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Put parentheses around the argument to ExpandAll (a(b+c)==d(e+f)) // ExpandAll or use ExpandAll[a(b+c)==d(e+f)] Bob Hanlon > > From: "David Park" <djmp at earthlink.net> To: mathgroup at smc.vnet.net > Date: 2004/09/03 Fri AM 03:35:30 EDT > To: mathgroup at smc.vnet.net > Subject: [mg50450] [mg50431] ExpandAll Problem with Rules > > 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/ > > > >