Matrix.opBinary

Binary operation between scalar type ("*" or "/").

  1. Matrix!(CommonType!(T, S), U, V) opBinary(Matrix!(S, U, V) m)
  2. Matrix!(CommonType!(T, S), U, P) opBinary(Matrix!(S, V, P) m)
  3. Matrix!(CommonType!(T, S), U, V) opBinary(S e)
    struct Matrix(T, uint U, uint V)
    const
    Matrix!(CommonType!(T, S), U, V)
    opBinary
    (
    string op
    S
    )
    (
    S e
    )
    if (
    __traits(isArithmetic, S) &&
    (
    op == "*" ||
    op == "/"
    )
    )
    if (
    __traits(isArithmetic, T)
    )
  4. Vector!(CommonType!(T, S), U) opBinary(Vector!(S, V) v)

Parameters

e S

target scalar value

Return Value

Type: Matrix!(CommonType!(T, S), U, V)

calculated matrix

Meta