operator - method
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);
}
}
Matrix operator -(dynamic value) {
if (value is Matrix) {
return subtract(value);
} else {
Matrix matrixB = Matrix(_row, _col);
matrixB.fill(value.toDouble());
return subtract(matrixB);
}
}