MathGroup Archive 2000

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

Search the Archive

rules for Sign[_]^n


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