Trait vectors::Vector
[−]
[src]
pub trait Vector<Scalar>: PartialEq + VectorOps<Self, Scalar> { type Scalar; }
The base trait for vector types, covering comparisons, basic numeric operations, and the dot product.
Associated Types
type Scalar
The type of the Vector
's scalar components.
Implementors
impl<T, A> Vector<T> for vectors::dense::stack::DenseVector<A> where
Self: VectorOps<Self, T>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>,
A: Copy + Array<Item = T>, type Scalar = T;impl<T> Vector<T> for vectors::dense::heap::DenseVector<T> where
Self: VectorOps<Self, T>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>, type Scalar = T;impl<T, A> Vector<T> for vectors::sparse::stack::SparseVector<A> where
Self: VectorOps<Self, T>,
T: Copy + PartialOrd + NumAssign + MulAdd<T, T, Output = T>,
A: Array<Item = (usize, T)>, type Scalar = T;impl<T> Vector<T> for vectors::sparse::heap::SparseVector<T> where
Self: VectorOps<Self, T>,
T: Copy + PartialOrd + NumAssign + MulAdd<T, T, Output = T>, type Scalar = T;