pub trait Dot<T> { // Required method fn dot(a: Self, b: Self) -> T; }
trait for dot product
vector dot-product