powered by
This function computes the dot product of two input vectors u and v.
dot(u, v)
Numeric value representing the dot product of u and v.
Numeric vector.
dot(c(1,2,3), c(4,5,6))
Run the code above in your browser using DataLab