File: punctuation.rst

package info (click to toggle)
julia 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,868 kB
  • ctags: 13,696
  • sloc: ansic: 102,603; lisp: 86,819; sh: 12,179; cpp: 8,793; makefile: 3,069; ruby: 1,594; python: 936; pascal: 697; xml: 532; java: 510; f90: 403; asm: 102; perl: 77; sql: 6
file content (45 lines) | stat: -rw-r--r-- 2,084 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Punctuation
-----------

Extended documentation for mathematical symbols & functions is :ref:`here <mathematical-operators>`.

   =========   ================================================
   symbol      meaning
   =========   ================================================
   ``@m``      invoke macro m; followed by space-separated expressions
   ``!``       prefix "not" operator
   ``a!( )``   at the end of a function name, `!` indicates that a function modifies its argument(s)
   ``#``       begin single line comment
   ``#=``      begin multi-line comment (these are nestable)
   ``=#``      end multi-line comment
   ``$``       xor operator, string and expression interpolation
   ``%``       remainder operator
   ``^``       exponent operator
   ``&``       bitwise and
   ``*``       multiply, or matrix multiply
   ``()``      the empty tuple
   ``~``       bitwise not operator
   ``\``       backslash operator
   ``'``       complex transpose operator A\ :sup:`H`
   ``a[]``     array indexing
   ``[,]``     vertical concatenation
   ``[;]``     also vertical concatenation
   ``[  ]``    with space-separated expressions, horizontal concatenation
   ``T{ }``    parametric type instantiation
   ``{  }``    construct a cell array
   ``;``       statement separator
   ``,``       separate function arguments or tuple components
   ``?``       3-argument conditional operator (conditional ? if_true : if_false)
   ``""``      delimit string literals
   ``''``      delimit character literals
   `\`\``      delimit external process (command) specifications
   ``...``     splice arguments into a function call or declare a varargs function or type
   ``.``       access named fields in objects or names inside modules, also prefixes elementwise operators
   ``a:b``     range a, a+1, a+2, ..., b
   ``a:s:b``   range a, a+s, a+2s, ..., b
   ``:``       index an entire dimension (1:end)
   ``::``      type annotation, depending on context
   ``:( )``    quoted expression
   ``:a``      symbol a
   =========   ================================================