Compute the dot product of two vectors
If x
and y
are matrices, calculate the dot-product
along the first non-singleton dimension. If the optional argument
d
is given, calculate the dot-product along this
dimension.
dot(x, y, d = NULL)
x |
Matrix of vectors |
y |
Matrix of vectors |
d |
Dimension along which to calculate the dot product |
Vector with length of d
th dimension
David Sterratt
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.