minus property Null safety
final
Implementation
static final NormalOperation minus = NormalOperation.floatOnly(
floatCalc: (Model m) {
_scalarOrMatrix(m,
scalar: (x, y) => y - x,
matrix: (m, x, y, r) {
_addOrSubtractMatricesXY((x, y) => y - x, m, x, y, r);
});
},
complexCalc: (Model m) {
if (m.x.asMatrix != null || m.y.asMatrix != null) {
minus.floatCalc!(m);
} else {
m.popSetResultXC = m.yC - m.xC;
}
},
name: '-');