latex what the dot product does would be nice here