Matrix.scale

Returns an identity matrix with the current scale applied ( nxn matrices, n >= 3 ).

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

Meta