Mat.opBinary

Add/Subtract by a matrix to its right.

  1. auto opBinary(Mat!(U, rowLength, UC) mat)
  2. auto opBinary(Mat!(U, rowLength, columnLength) oth)
    struct Mat(T, size_t R, size_t C)
    const
    opBinary
    (
    string op
    U
    )
    if (
    (
    op == "+" ||
    op == "-"
    )
    &&
    !is(CommonType!(T, U) == void)
    )
  3. auto opBinary(Mat!(U, UR, UC) oth)
  4. auto opBinary(Vec!(U, N) vec)
  5. auto opBinary(U val)

Meta