|KASH3 Reference Manual|
There are three kinds of operators in KASH3, arithmetical operators, comparison operators, and logical operators.KASH3 knows a precedence between operators that may be overridden by parentheses.
You have already seen that it is possible to form the sums, differences, and products. The remaining arithmetical operators are exponentiation '^' and 'mod'.
A comparison result is a boolean value. Integers, rationals and real numbers are comparable via '=', '<', '<=', '>=', '>' and '<>'; algebraic elements, ideals, matrices and complex numbers can be compared via '=' and '<>'. Membership of an element in a structure can be tested eith 'in'.
The boolean values 'TRUE' and 'FALSE' can be manipulated via logical operators, i.e., the unary operator 'not' and the binary operators 'and' and 'or'.
Built: Mon Nov 14 21:12:39 UTC 2005 on mackThe KANT Group