rules for Sign[_]^n
- To: mathgroup at smc.vnet.net
- Subject: [mg26337] rules for Sign[_]^n
- From: Adalbert Hanssen <hanssen at Zeiss.de>
- Date: Tue, 12 Dec 2000 02:54:49 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, MathGroup, dealing with Sign, it would be useful, if Mathematica knew {(Sign[_])^(y_?EvenQ):>1, (Sign[x_])^(y_?OddQ):>Sign[x]} How can I teach Mathematica this rule (in Init.m), such that it automaticly applies it in Simplify, Expand and the like whenever applicable? kind regards Dipl.-Math. Adalbert Hanszen