MathGroup Archive 2004

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

Search the Archive

Re: ExpandAll Problem with Rules


That is strange, but this avoids the problem:

ExpandAll /@ (a(b + c) -> d(e + f))

a b + a c -> d e + d f

Bobby


"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: 5 variables Guass isnt working, matrix solution
  • Next by Date: HoldPattern & Pattern Matching
  • Previous by thread: Re: RE: ExpandAll Problem with Rules
  • Next by thread: Parallel Toolkit Example