Matrix.scale

extract scaling part of the matrix in a copy

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

Meta