Function dot_ndarray
Source pub fn dot_ndarray<T: Field>(x: &Array1<T>, y: &Array1<T>) -> T
Expand description
Computes the dot product of two 1D arrays.
§Arguments
x - First vector
y - Second vector
§Returns
The dot product x·y
§Panics
Panics if vectors have different lengths.