Mat.opBinaryRight

Operation of a matrix with a scalar on its left.

  1. auto opBinaryRight(Vec!(U, N) vec)
  2. auto opBinaryRight(U val)
    struct Mat(T, size_t R, size_t C)
    const
    opBinaryRight
    (
    string op
    U
    )
    (
    in U val
    )
    if (
    (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    )
    &&
    !is(CommonType!(T, U) == void)
    )

Meta