'dot' or 'scalar' product of vectors or pairwise columns of matrices.
Usage
Dot(x, y)
Value
A scalar or vector of length the number of columns of x and
y.
Arguments
x
numeric vector or matrix
y
numeric vector or matrix
Author
Hans W. Borchers <hwborchers@googlemail.com>
Details
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.