Matrix.opBinaryRight

vector-Matrix multiplication, optimized instead of transposing matrix and multiplying

  1. auto opBinaryRight(T s)
  2. auto opBinaryRight(V vec)
    struct Matrix(type, int numCols, int numRows)
    @safe pure nothrow
    opBinaryRight
    const
    (
    string op : "*"
    V
    )
    (
    V vec
    )
    if (
    isVector!V &&
    V.dimension == rows
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )

Meta