dot_product#
- ssip.basic_functions.dot_product(vec1: ndarray[Any, dtype[uint8]], vec2: ndarray[Any, dtype[uint8]]) int [source]#
Takes the bilinear symmetric nondegenerate form, i.e. dot product, F_2^n x F_2^n -> F_2.
- Parameters:
vec1 – The first F_2 vector.
vec2 – The second F_2 vector.
- Returns:
The dot product.