Column vector

From Free net encyclopedia

In linear algebra, a column vector is an m × 1 matrix, i.e. a matrix consisting of a single column of <math>m</math> elements.

<math>\mathbf x = \begin{bmatrix} x_1 \\ x_2 \\ \vdots \\ x_m \end{bmatrix}</math>

The transpose of a column vector is a row vector and vice versa.

The set of all column vectors forms a vector space which is the dual space to the set of all row vectors.

Notation

To simplify writing column vectors in-line with other text, sometimes they are written as row vectors with the transpose operation applied to them.

<math>\mathbf x = \begin{bmatrix} x_1, x_2, \dots, x_m \end{bmatrix}^{\rm T}</math>

For further simplification, writers also use the convention of writing both column vectors and row vectors as rows but separating row vector elements with spaces and column vector elements with commas. For example, if <math>x</math> is a row vector, then <math>x</math> and <math>x^{\rm T}</math> might be denoted as follows.

<math>\mathbf x = \begin{bmatrix} x_1 \; x_2 \; \dots \; x_m \end{bmatrix} \qquad

\mathbf x^{\rm T} = \begin{bmatrix} x_1, x_2, \dots, x_m \end{bmatrix}</math>

Operations

fr:Columns (programmation)