Matrix.scaling

static construction of a scaling matrix

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

Meta