MathGroup Archive 1997

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

Search the Archive

Question on Positive[x]=True

  • To: mathgroup at
  • Subject: [mg7791] Question on Positive[x]=True
  • From: Raya Firsov-Khanin <raya at>
  • Date: Tue, 8 Jul 1997 22:41:06 -0400
  • Sender: owner-wri-mathgroup at

Dear Steve,

I have the following question.  I want to state that a variable 
x is positive. On page 1170 of the Third edition of The Mathematica book 
it is said that I can do it by making a definition
    Positive[x] = True 

However, while trying to do it I get a message : 
Set::write: Tag Positive in Positive[x] is Protected 

Any suggestions on how one can make variables positive, negative etc? 

Thanks a lot. 
                  Raya Khanin. 
                  University of Edinburgh

  • Prev by Date: Prime research
  • Next by Date: Re: recovering from forgetfulness
  • Previous by thread: Re: Prime research
  • Next by thread: Re: Question on Positive[x]=True