|
Contents | Previous | Next | Subchapters |
| Syntax |
+ - * .* ./ |
| O-Matrix Mode | addition , subtraction , multiplication , division , matrixmultiplication |
+,
-,
*,
.*, and
./
are extended to logical and character matrices.
The corresponding results have type integer.
In such an operation,
false corresponds to the value zero
and true corresponds to the value one.
true = 1 == 1;
false = 1 == 0;
x = [ true , true , false , false ];
y = [ true , false , true , false ];
x - y
O-Matrix will respond
x = [ 0 , 1 , -1 , 0 ]