Matrix.scale

Copyies the scale from mat to the current matrix (nxn matrices, n >= 3).

  1. Matrix scale(mt x, mt y)
  2. Matrix scale(mt x, mt y, mt z)
  3. void scale(mt[] values)
  4. void scale(Matrix mat)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3))
    void
    scale
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )
  5. Matrix scale()

Meta