MATH 491 List of Operations

From Notes
Jump to navigation Jump to search


Algebraic/Numeric

Binary Infix Operators

Operation Token(s)
Addition +
Subtraction -
Plus or Minus +/-, <leader>pm
Minus or Plus -/+, <leader>mp
Multiplication *, " "
Division /
Exponentiation ^, **
Modulus %, mod, modulo (optional leader?)

Unary Prefix Operators

Operation Token(s)
Negation -
Positive +
Positive or Negative +/-, <leader>pm
Negative or Positive -/+, <leader>mp
Real part Re
Imaginary part Im

Unary Postfix Operators

Opertion Token(s)
Factorial !

Delimiters and Indices

Description Token(s)
Parentheses: order of operations ( )
Subscript index [ ] (separate multiple indices by comma [1,2], chained indices [1][2] are equivalent)

Outermost set of parentheses should automatically be unwrapped for following operations:

  • division (unwrap numerator and denominator)
  • exponentiation (unwrap exponent)


Vectors and Matrices

Binary Infix Operators

Description Token(s)
Dot Product .
Cross Product *, <leader>x



Functions

Binary Infix Operators

Operation Token(s)
Addition +
Subtraction -
Multiplication *, " "
Division /
Exponentiation ^, **
Composition @, o
Self-composition @@, use composition tokens with integer type on RHS

Unary Prefix Operators

Operation Token(s)
Positive? +
Negative? -

Unary Postfix Operators

Operation Token(s)
Prime differential ', `
Dot differential .