operator - method

Matrix operator -(
  1. dynamic value
)

Implementation

Matrix operator -(dynamic value) {
  if (value is Matrix) {
    return subtract(value);
  } else {
    Matrix matrixB = Matrix(_row, _col);
    matrixB.fill(value.toDouble());
    return subtract(matrixB);
  }
}