Mat.opOpAssign

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

  1. auto opOpAssign(U val)
    struct Mat(T, size_t R, size_t C)
    opOpAssign
    (
    string op
    U
    )
    (
    in U val
    )
    if (
    (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    )
    &&
    !is(CommonType!(T, U) == void)
    )
  2. auto opOpAssign(M mat)

Meta