Document dotProduct.