operator * method

Matrix operator *(
  1. dynamic value
)

Implementation

Matrix operator *(dynamic value) {
  if (value is Matrix) {
    //multiplies all values from 1 matrix with the other
    return hadamardProduct(value);
  } else {
    //should multiply all values from 1 matrix with
    return multiply(value.toDouble());
  }
}