Description (from Rosetta Code)
Create a function/use an in-built function, to compute the dot product, also known as the scalar product of two vectors.
If possible, make the vectors of arbitrary length.
As an example, compute the dot product of the vectors:
If implementing the dot product of two vectors directly:
No programs needed. Dor product is intrinsically supported in Fōrmulæ.