Re: Problem with Inequalities
- To: mathgroup at smc.vnet.net
- Subject: [mg29695] Re: [mg29675] Problem with Inequalities
- From: BobHanlon at aol.com
- Date: Wed, 4 Jul 2001 03:08:21 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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