pub fn dot_product<T: Float>(a_0: T, a_1: T, b_0: T, b_1: T) -> T
2D vector dot product function: a . b.
a_0, a_1 the first vector values.
a_0
a_1
b_0, b_1 the second vector values.
b_0
b_1
returns the dot product of the 2D vectors.