Trait vectors::VectorOps
[−]
[src]
pub trait VectorOps<Vector, Scalar>: Sized + Add<Vector, Output = Self> + Sub<Vector, Output = Self> + Mul<Scalar, Output = Self> + Div<Scalar, Output = Self> + MulAdd<Scalar, Vector, Output = Self> { }
The trait for vector types implementing basic numeric operations.
Implementors
impl<V, T, A> VectorOps<V, T> for vectors::dense::stack::DenseVector<A> where
Self: Add<V, Output = Self> + Sub<V, Output = Self> + Mul<T, Output = Self> + Div<T, Output = Self> + MulAdd<T, V, Output = Self>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>,
A: Copy + Array<Item = T>,impl<V, T> VectorOps<V, T> for vectors::dense::heap::DenseVector<T> where
Self: Add<V, Output = Self> + Sub<V, Output = Self> + Mul<T, Output = Self> + Div<T, Output = Self> + MulAdd<T, V, Output = Self>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>,impl<V, T, A> VectorOps<V, T> for vectors::sparse::stack::SparseVector<A> where
Self: Add<V, Output = Self> + Sub<V, Output = Self> + Mul<T, Output = Self> + Div<T, Output = Self> + MulAdd<T, V, Output = Self>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>,
A: Array<Item = (usize, T)>,impl<V, T> VectorOps<V, T> for vectors::sparse::heap::SparseVector<T> where
Self: Add<V, Output = Self> + Sub<V, Output = Self> + Mul<T, Output = Self> + Div<T, Output = Self> + MulAdd<T, V, Output = Self>,
T: Copy + NumAssign + MulAdd<T, T, Output = T>,