powered by
Compute the dot product between two vectors
dot(vec1, vec2)
A numeric
A numeric vector
Another numeric vector
dot(c(0,1), c(1,0))
Run the code above in your browser using DataLab