MathGroup Archive 2001

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

Search the Archive

Re: Problem with Inequalities


In a message dated 2001/7/3 4:52:21 AM, Mail at Axel-Dreher.de writes:

>I'm desperately searching for help on my inequality question.
>How can I check for the truth of inequalities when I use variables
>instaed of numeric values?
>
>For example: a>b;TrueQ[a>b]
>does yield 'false' and for example a=1;b=0.5;TrueQ[a>b] yields 'True'.
>How do I have to tell the programm, that it should use a>b?
>

Use TagSet to set an upvalue for either a or b. For example, 

a /: (a > b) = True;

a > b

True


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: a problem with differentiation
  • Next by Date: Mathematica generating gifs for avi problem
  • Previous by thread: Problem with Inequalities
  • Next by thread: Re: Problem with Inequalities