Multiply the matrix by a scalar
x
Matrix multiply(double x) { Matrix matrixB = Matrix(_row, _col); matrixB.fill(x); return hadamardProduct(matrixB); }