This dot product is different than dotproduct/ in dotprodut/: there is an array of A, B, and the result is input in C. A, B and C has the same size in here: A is only one dot(x_A, y_A, z_A). A dot product every element in B and the result is put in array C.