Concept

Vertical bar

Summary
The vertical bar, , is a glyph with various uses in mathematics, computing, and typography. It has many names, often related to particular meanings: Sheffer stroke (in logic), pipe, bar, or (literally the word "or"), vbar, and others. Usage Mathematics The vertical bar is used as a mathematical symbol in numerous ways:
  • absolute value: |x|, read "the absolute value of x"
  • cardinality: |S|, read "the cardinality of the set S" or "the length of a string S".
  • conditional probability: P(X|Y), read "the probability of X given Y"
  • determinant: |A|, read "the determinant of the matrix A". When the matrix entries are written out, the determinant is denoted by surrounding the matrix entries by vertical bars instead of the usual brackets or parentheses of the matrix, as in \begin{vmatrix} a & b \ c & d\end{vmatrix}.
  • distance: P|ab, denoting the shortest distance between
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.
Related publications

Loading

Related people

Loading

Related units

Loading

Related concepts

Loading

Related courses

Loading

Related lectures

Loading