[next][previous][up][top][index]
search for:

operators -- an overview

Here is a list of unary and binary operators in the language. Many of them can have methods installed for handling arguments of specific types.

  •   -- function application
  • , -- separates elements of lists or sequences
  • ; -- statement separator
  • = -- assignment
  • <- -- assignment with left hand side evaluated
  • -> -- make a function
  • := -- assignment of method or new local variable
  • == -- equal
  • != -- not equal
  • === -- strictly equal
  • =!= -- strictly not equal
  • < -- less than
  • <= -- less than or equal
  • => -- option
  • > -- greater than
  • >= -- greater than or equal
  • ? -- comparison
  • or -- or
  • and -- and
  • not -- negation
  • .. -- sequence builder
  • + -- addition
  • - -- subtraction
  • * -- multiplication
  • / -- division, or applying a function to elements of a list
  • // -- quotient
  • \\ -- left quotient
  • % -- remainder
  • ^ -- power
  • ^** -- tensor power
  • /^ -- divided power
  • ! -- factorial
  • ++ -- direct sum
  • ** -- tensor product
  • << -- file output, bit shifting
  • >> -- bit shifting
  • _ -- subscripting
  • . -- hash table access or assignment
  • .? -- test for hash table access
  • # -- hash table access; length of a list, sequence or hash table
  • #? -- test for hash table access
  • | -- horizontal concatenation of strings or matrices
  • || -- vertical concatentation of strings or matrices
  • & -- bit-wise and
  • : -- ideal quotient, repetitions
  • \ -- applying a function to elements of a list
  • ==> -- attaching options to a function
  • @@ -- composing functions
  • @ -- a binary operator
  • && -- a binary operator
  • ^^ -- a binary operator
  • ~ -- making a coherent sheaf

  • [next][previous][up][top][index]
    search for: