the traits core::ops::Sub<Mat<T>> and core::ops::Sub<&Mat<T>> should be implemented for Mat<T> and &Mat<T>
T should satisfy the trait ComplexField for those operations to be implementable. Mat::with_dims could be used, with a closure that takes two elements and subtracts them
implement subtraction for
Mat<T>
the traits
core::ops::Sub<Mat<T>>
andcore::ops::Sub<&Mat<T>>
should be implemented forMat<T>
and&Mat<T>
T
should satisfy the traitComplexField
for those operations to be implementable.Mat::with_dims
could be used, with a closure that takes two elements and subtracts them