Returns the inner product of the two samples, which should be sequences of
numbers. The inner product, also called the dot product or vector product, is
the sum of the pairwise multiplication of the numbers. Stops when either sample
runs out; it doesn't check that they have the same length.