Matrix.scale

scale an existing matrix with two scalars

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

Meta