mult property Null safety

NormalOperation mult
final

Implementation

static final NormalOperation mult = NormalOperation.floatOnly(
    floatCalc: (Model m) {
      _scalarOrMatrix(m,
          scalar: (x, y) => y * x,
          matrix: (m, x, y, r) => _matrixMultiply(m, x, y, r));
    },
    complexCalc: (Model m) {
      if (m.x.asMatrix != null || m.y.asMatrix != null) {
        mult.floatCalc!(m);
      } else {
        m.popSetResultXC = m.yC * m.xC;
      }
    },
    name: '*');