traits
This commit is contained in:
parent
c277c31f29
commit
9ef9b5ff3f
@ -1,4 +1,5 @@
|
|||||||
mod macros;
|
mod macros;
|
||||||
|
mod traits;
|
||||||
mod vector;
|
mod vector;
|
||||||
|
|
||||||
#[cfg(feature="fixed_wide_traits")]
|
#[cfg(feature="fixed_wide_traits")]
|
||||||
|
8
fixed_wide_vectors/src/traits.rs
Normal file
8
fixed_wide_vectors/src/traits.rs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
pub trait Dot<Rhs=Self>{
|
||||||
|
type Output;
|
||||||
|
fn dot(self,rhs:Rhs)->Self::Output;
|
||||||
|
}
|
||||||
|
pub trait Transpose{
|
||||||
|
type Output;
|
||||||
|
fn transpose(self)->Self::Output;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user