Matrix.opBinaryRight

Scalar matrix addition and subtraction

  1. MatType opBinaryRight(Matrix!(R, H, W) b)
    struct Matrix(T, size_t H, size_t W)
    const
    opBinaryRight
    (
    string op
    R
    )
    (
    in Matrix!(R, H, W) b
    )
    if (
    op == "+" ||
    op == "-"
    )
    if (
    isNumeric!T &&
    W > 0
    &&
    H > 0
    )
  2. Matrix!(T, U, W) opBinaryRight(Matrix!(R, U, H) b)
  3. Vector!(R, W) opBinaryRight(Vector!(R, H) b)
  4. Vector!(R, 3) opBinaryRight(Vector!(R, 3) b)
  5. quat opBinaryRight(quat b)
  6. MatType opBinaryRight(R b)

Meta