Vector
The vector x (lowercase, bold, by convention; equivalently, ) can be thought of as a point in n-dimensional space. Conventionally, we mean column-vector when we say vector. The transpose of a column vector is a row vector with the same number of elements, arranged in a single row.
![Vector](https://static.packt-cdn.com/products/9781785880513/graphics/graphics/B05137_10_image005.jpg)
![Vector](https://static.packt-cdn.com/products/9781785880513/graphics/graphics/B05137_10_image006.jpg)
Scalar product of vectors
Also known as the dot product, the scalar product is defined for two vectors of equal length. The result of the operation is a scalar value and is obtained by summing over the products of the corresponding elements of the vectors. Thus, given vectors x and y:
![Scalar product of vectors](https://static.packt-cdn.com/products/9781785880513/graphics/graphics/B05137_10_image132.jpg)
The dot product xTy is given as:
![Scalar product of vectors](https://static.packt-cdn.com/products/9781785880513/graphics/graphics/B05137_10_image133.jpg)