Trait ndarray::LinalgScalar

source ·
pub trait LinalgScalar: 'static + Copy + Zero + One + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<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.

Implementors§

source§

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