MathGroup Archive 2000

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

Search the Archive

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


  • Prev by Date: RE: Q: Matrix Construction
  • Next by Date: Color Charts
  • Previous by thread: Re: Big trouble with Mathematica Code parsing --
  • Next by thread: RE: rules for Sign[_]^n