diff --git a/fixed_wide_vectors/src/lib.rs b/fixed_wide_vectors/src/lib.rs index 2dc585f..35a5dc4 100644 --- a/fixed_wide_vectors/src/lib.rs +++ b/fixed_wide_vectors/src/lib.rs @@ -1,4 +1,5 @@ mod macros; +mod traits; mod vector; #[cfg(feature="fixed_wide_traits")] diff --git a/fixed_wide_vectors/src/traits.rs b/fixed_wide_vectors/src/traits.rs new file mode 100644 index 0000000..c9abcb4 --- /dev/null +++ b/fixed_wide_vectors/src/traits.rs @@ -0,0 +1,8 @@ +pub trait Dot{ + type Output; + fn dot(self,rhs:Rhs)->Self::Output; +} +pub trait Transpose{ + type Output; + fn transpose(self)->Self::Output; +}