Macro impl_scalar_sub

Source
macro_rules! impl_scalar_sub {
    ($($t:ty)*) => { ... };
}
Expand description

Implements scalar subtraction for Matrix<T>.

ยงNotes

A scalar does not have to be a scalar in the mathematical sense. Instead, it can be any type except for Matrix<T>. However, if you do need to treat some concrete type of Matrix<T> as a scalar, you can wrap it in a newtype and implement all the necessary trait bounds for it.