3.1 Definitions and conventions
A matrix is a collection of numbers arranged in a rectangular array of rows and columns, such as
A matrix with rows and columns is said to be an matrix (e.g., the matrix above is a matrix).
In the case where a matrix has just a single row or column, it is said to be a vector, such as
Conventionally, vectors and matrices are denoted in lower- and upper-case boldface, respectively (e.g., is a scalar, is a vector, and is a matrix). In addition, vectors are taken to be column vectors – i.e., a vector of numbers is an matrix, not a matrix.
The th element of a matrix is denoted by or .
For example, letting denote the above matrix, , , and so on. Similarly, the th element of a vector is denoted ; e.g., letting denote the above vector, .