Function beagle::scalar_array::vec_array::dot
[−]
[src]
pub fn dot<S, R, T>(
s: <R as Array<S>>::Type,
t: <R as Array<T>>::Type
) -> S::Output where
R: Dim<S> + Dim<T>,
S: Mul<T>,
S::Output: Add<Output = S::Output>,
R::Smaller: Array<S> + Array<T>,
Multiply two Vectors component-wise, summing the results. Known as a dot product.