Contents | Previous | Next | Subchapters |

O-Matrix performs operations in a set order. The following table lists the O-Matrix operators. If an operator is above another in the table, it is performed first. If two operators appear on the same line of the table, the expression is evaluated from left to right.

operator |
description |

`'` | transposition |

`^` | exponentiation |

`* % /` | multiplication and division |

`+ -` | addition and subtraction |

`:` | sequencing |

`== <> < > <= >=` | comparison |

`and or not` | logical comparison |

```
```

5 + 3 * 10^2

O-Matrix will perform the exponentiation first,
then the multiplication, and finally the addition.
It will then respond
```
```

305

If you enter
```
```

12 / 2 * 3

O-Matrix will divide 12 by 2,
and then multiply the result by 3. It will then respond
```
```

18

You can enclose an operation in parentheses to force
O-Matrix to evaluate it first. If you enter
```
```

12 / (2 * 3)

O-Matrix will multiply 2 by 3,
and then divide 12 by the result. It will then respond
```
```

2