Function Inner-Product

Part of:

package cl-mathstats
( inner-product < sample1 > < sample2 > &key < start1 > < end1 > < start2 > < end2 > )
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.