Operator

From iMath
Revision as of 15:46, 25 August 2019 by Jrheinlaender (Talk | contribs)

Jump to: navigation, search

The following list shows all operators recognized by iMath, from lowest precedence to highest precedence. Operator precedence defines the order in which operators are evaluated when no brackets are set. For example, 3 * 4 + 5 will evaluate to 17, not to 23, because + has lower precedence than *.

  • ## Matrix definition
  • ; # List separator, vector definition
  • MOD Modular equation
  • OR Boolean or
  • AND Boolean and
  • NEG Boolean negation
  • = == < <= > >= != <> Relational operators
  • : vector definition
  • - + Addition and subtraction
  • * ∙ / ÷ OVER DIV TIMES × Multiplication and division
  • .* ⊗ ODOT OTIMES ./ ⊘ ODIVIDE element-wise operations on vectors and matrices
  • - Unary minus
  • REV NROOT Reverse an equation, multiple root
  • ^ .^ Exponentiation (.^ denotes element-wise exponentiation on vectors and matrices)
  • ^T Vector and matrix transposition
  • ! Factorial
  • [ ] Vector and matrix element access
  • SIZE Font size specification