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: RE: ExpandAll Problem with Rules

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50457] Re: RE: [mg50431] ExpandAll Problem with Rules
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 4 Sep 2004 01:43:47 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Must be version/OS related.  With the overall paren it works fine on v5.0.1.0 
with Mac OS X.


Bob Hanlon

> 
> From: "David Park" <djmp at earthlink.net>
To: mathgroup at smc.vnet.net
> Date: 2004/09/03 Fri PM 12:49:04 EDT
> To: <hanlonr at cox.net>, 
> 	<mathgroup at smc.vnet.net>
> Subject: [mg50457] RE: [mg50431] ExpandAll Problem with Rules
> 
> (a(b + c) -> d(e + f)) // ExpandAll
> 
> still gives the error message. It is the use of ExpandAll on Rules that is
> the problem.
> 
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
> 
> From: Bob Hanlon [mailto:hanlonr at cox.net]
To: mathgroup at smc.vnet.net
> 
> 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: [mg50457] [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/
> >
> >
> >
> >
> 
> 
> 
> 
> 

Bob Hanlon
Chantilly, VA


  • Prev by Date: Re : definite and indefinite Integrate
  • Next by Date: Re: Re: newbie is looking for a customDistribution function
  • Previous by thread: Re: ExpandAll Problem with Rules
  • Next by thread: Re: ExpandAll Problem with Rules