Tagged: dot

How to Calculate the Scalar Product in R

Scalar product, sometimes known as the dot product, is an algebraic operation that returns a single integer from two numbers of equal length. Let’s say we have two vectors x and y and we...