pub trait ScalarNum: 'static + Copy + Zero + One + Debug + Send + Sync + FromPrimitive + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + MulAssign + DivAssign + AddAssign + SubAssign { }
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.

Implementations on Foreign Types

Implementors