A vector is a linear array of numbers, symbols, or expressions, arranged either in rows (row vectors) or columns (column vectors). (A vector is a tensor of rank 1.) The individual items in a vector are called its elements or entries.
An vector is commonly written using box brackets (an alternative notation uses large parentheses instead). An column vector is written
while an row vector is written
where is the transpose of .
An example of a column vector with 5 entries is
while an example of a row vector with 5 entries is