Matrix.opUnary

opUnary [-, +, --, ++, *, ~] x

  1. MatType opUnary()
    struct Matrix(T, size_t H, size_t W)
    opUnary
    (
    string op
    )
    ()
    if (
    op == "-" ||
    op == "+"
    )
    if (
    isNumeric!T &&
    W > 0
    &&
    H > 0
    )
  2. Matrix!(float, W, W) opUnary()

Meta