Returns the 'dot' or 'scalar' product of vectors or columns of matrices.
Two vectors must be of same length, two matrices must be of
the same size.
If x and y are column or row vectors, their dot product
will be computed as if they were simple vectors.