forked from M-Labs/nalgebra
7 lines
131 B
Rust
7 lines
131 B
Rust
|
pub trait Dot<T>
|
||
|
{
|
||
|
fn dot(&self, &Self) -> T;
|
||
|
fn norm(&self) -> T;
|
||
|
fn sqnorm(&self) -> T; // { self.dot(self); }
|
||
|
}
|