Trait const_matrix::matrix::Arithmetic [−][src]
pub trait Arithmetic<T>: Sized + Add<Output = T> + AddAssign + Mul<Output = T> + MulAssign + Neg<Output = T> + Sub<Output = T> + SubAssign { }
Expand description
All types for which the operators +
, +=
, *
, *=
,
-
(unary negation), -
(binary minus) and -=
are
defined and where the output type of +=
, *=
and -=
is T
again.