Matrix.scale

scale an existing matrix with two scalars

  1. Matrix scale(type x)
  2. Matrix scale(type[2] vec)
  3. Matrix scale(type x, type y)
    struct Matrix(type, int numCols, int numRows)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe @safe pure nothrow
    static if(cols == rows)
    static if(cols == 2 || cols == 3)
    scale
    (
    type x
    ,
    type y
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  4. Matrix scale(type[3] vec)
  5. Matrix scale(type x, type y, type z)
  6. Matrix scale()

Meta