next up previous
Next: About this document ... Up: Mathematica Previous: Matrices and Vectors

Relational Expressions

You can define a relational expression (i.e. something which normally takes the value True or False) as follows:

Example Meaning
   
a == b these first three are obvious!
a < b  
a >= b  
a != b a is not equal to b
   
a == b && c < d a is equal to b AND c is less than d
a == b || c < d a is equal to b OR c is less than d



Chris Allton 2006-12-01