pub trait Vector<T: Scalar, Rhs = Self, Output = Self>: Add<Rhs, Output = Output> + Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Mul<T, Output = Output> + Div<Rhs, Output = Output> + Div<T, Output = Output> + Neg<Output = Output> + Clone + Copy {
fn zero() -> Self;
fn addVV(l: &Self, r: &Self) -> Self;
fn subVV(l: &Self, r: &Self) -> Self;
fn mulVV(l: &Self, r: &Self) -> Self;
fn divVV(l: &Self, r: &Self) -> Self;
fn mulVF(l: &Self, r: T) -> Self;
fn divVF(l: &Self, r: T) -> Self;
fn remVV(l: &Self, r: &Self) -> Self;
fn dot(l: &Self, r: &Self) -> T;
fn normalize(v: &Self) -> Self;
fn distance(l: &Self, r: &Self) -> T;
fn min(l: &Self, r: &Self) -> Self;
fn max(l: &Self, r: &Self) -> Self;
fn length(&self) -> T { ... }
}
fn zero() -> Self
fn addVV(l: &Self, r: &Self) -> Self
fn subVV(l: &Self, r: &Self) -> Self
fn mulVV(l: &Self, r: &Self) -> Self
fn divVV(l: &Self, r: &Self) -> Self
fn mulVF(l: &Self, r: T) -> Self
fn divVF(l: &Self, r: T) -> Self
fn remVV(l: &Self, r: &Self) -> Self
fn dot(l: &Self, r: &Self) -> T
fn normalize(v: &Self) -> Self
fn distance(l: &Self, r: &Self) -> T
fn min(l: &Self, r: &Self) -> Self
fn max(l: &Self, r: &Self) -> Self
Loading content...Loading content...fn dot(l: &Self, r: &Self) -> T
[src]
fn addVV(l: &Self, r: &Self) -> Self
[src]
fn subVV(l: &Self, r: &Self) -> Self
[src]
fn mulVV(l: &Self, r: &Self) -> Self
[src]
fn divVV(l: &Self, r: &Self) -> Self
[src]
fn mulVF(l: &Self, r: T) -> Self
[src]
fn divVF(l: &Self, r: T) -> Self
[src]
fn remVV(l: &Self, r: &Self) -> Self
[src]
fn distance(l: &Self, r: &Self) -> T
[src]
fn min(l: &Self, r: &Self) -> Self
[src]
fn max(l: &Self, r: &Self) -> Self
[src]
fn dot(l: &Self, r: &Self) -> T
[src]
fn addVV(l: &Self, r: &Self) -> Self
[src]
fn subVV(l: &Self, r: &Self) -> Self
[src]
fn mulVV(l: &Self, r: &Self) -> Self
[src]
fn divVV(l: &Self, r: &Self) -> Self
[src]
fn mulVF(l: &Self, r: T) -> Self
[src]
fn divVF(l: &Self, r: T) -> Self
[src]
fn remVV(l: &Self, r: &Self) -> Self
[src]
fn distance(l: &Self, r: &Self) -> T
[src]
fn min(l: &Self, r: &Self) -> Self
[src]
fn max(l: &Self, r: &Self) -> Self
[src]
fn dot(l: &Self, r: &Self) -> T
[src]
fn addVV(l: &Self, r: &Self) -> Self
[src]
fn subVV(l: &Self, r: &Self) -> Self
[src]
fn mulVV(l: &Self, r: &Self) -> Self
[src]
fn divVV(l: &Self, r: &Self) -> Self
[src]
fn mulVF(l: &Self, r: T) -> Self
[src]
fn divVF(l: &Self, r: T) -> Self
[src]
fn remVV(l: &Self, r: &Self) -> Self
[src]
fn distance(l: &Self, r: &Self) -> T
[src]
fn min(l: &Self, r: &Self) -> Self
[src]
fn max(l: &Self, r: &Self) -> Self
[src]
Loading content...