Mat.opBinary

Build an augmented matrix (add oth to the right of this matrix)

immutable m = IMat2(4, 5, 6, 8);
assert( m ~ IMat2.identity == IMat2x4(4, 5, 1, 0, 6, 8, 0, 1));
  1. auto opBinary(Mat!(U, rowLength, UC) mat)
    struct Mat(T, size_t R, size_t C)
    const
    opBinary
    (
    string op
    U
    size_t UC
    )
    (
    in Mat!(U, rowLength, UC) mat
    )
    if (
    op == "~"
    )
  2. auto opBinary(Mat!(U, rowLength, columnLength) oth)
  3. auto opBinary(Mat!(U, UR, UC) oth)
  4. auto opBinary(Vec!(U, N) vec)
  5. auto opBinary(U val)

Meta