Mat.opOpAssign - multiple declarations

Function Mat.opOpAssign

Assign operation of a matrix with a scalar on its right.

auto opOpAssign(string op, U) (
  in U val
)
if ((op == "+" || op == "-" || op == "*" || op == "/") && !is(CommonType!(T, U) == void));

Function Mat.opOpAssign

Assign operation of a matrix with a matrix on its right.

auto opOpAssign(string op, M) (
  in M mat
)
if ((op == "+" || op == "-" || op == "*") && is(typeof(mixin("this" ~ op ~ "mat"))));