Matrix.scale

Sets the scale of the 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)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3))
    void
    scale
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )
  4. void scale(Matrix mat)
  5. Matrix scale()

Meta