|
[Date Index]
[Thread Index]
[Author Index]
Re: ExpandAll Problem with Rules
- To: mathgroup at smc.vnet.net
- Subject: [mg50455] Re: [mg50431] ExpandAll Problem with Rules
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 4 Sep 2004 01:43:41 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
(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: [mg50455] [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/
>
>
>
>
Prev by Date:
Re: Cases
Next by Date:
Re: Cases
Previous by thread:
Re: ExpandAll Problem with Rules
Next by thread:
Re: RE: ExpandAll Problem with Rules
|