Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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/


  • Prev by Date: Re: Cases
  • Next by Date: Re: Cases
  • Previous by thread: ExpandAll Problem with Rules
  • Next by thread: Re: ExpandAll Problem with Rules