powered by
Computes the dot product between two given vectors.
dot(a, b, norm = TRUE)
numeric vector containing sdot product score
numeric vector
logical, compute normalised dot product, default=True
a <- runif(5) b <- runif(5) s <- dot(a, b)
Run the code above in your browser using DataLab