Trait tract_hir::prelude::tract_ndarray::LinalgScalar [−][src]
pub trait LinalgScalar: 'static + Copy + Zero<Output = Self> + One<Output = Self> + Add<Self> + Sub<Self, Output = Self> + Mul<Self> + Div<Self, Output = Self> { }
Expand description
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.