The lowlevel function for computing the inner_product distance.
inner_product(P, Q, testNA)
a numeric vector storing the first distribution.
a numeric vector storing the second distribution.
a logical value indicating whether or not distributions shall be checked for NA
values.