Re: Unprotect Plus, no automatic collection
- To: mathgroup at smc.vnet.net
- Subject: [mg39123] Re: Unprotect Plus, no automatic collection
- From: Friedrich Laher <mathefritz at schmieder-laher.de>
- Date: Thu, 30 Jan 2003 01:06:21 -0500 (EST)
- References: <b184d4$kqb$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Friedrich Laher schrieb: > when Unprotect[Plus]; Plus[w1,w2] = -1 is commanded > and then the expanding of a product gives a*w1 + a*w2 + ... > that is not collapsed to -a + ... automatically, even > if selecting that a*w1 + a*w1 and > the applying Simplify to it from al palette, does it. What > can be done to automize it? > > I got a direct answer from Mihaijlo Vanevic, suggesting using a rul w2 -> -1-w2 but what when there is w1+w2+w3+... = -1 ?