[][src]Trait tract_hir::internal::tract_ndarray::LinalgScalar

pub trait LinalgScalar: 'static + Copy + Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + Zero + One { }

Elements that support linear algebra operations.

'static for type-based specialization, Copy so that they don't need move semantics or destructors, and the rest are numerical traits.

Implementors

impl<T> LinalgScalar for T where
    T: One<Output = T> + Add<T, Output = T> + Sub<T, Output = T> + 'static + Mul<T> + Copy + Div<T, Output = T> + Zero
[src]

Loading content...