Matrix.scaling

static construction of a scaling matrix from an array/vector

  1. Matrix scaling(valueType x)
  2. Matrix scaling(valueType[2] vec)
  3. Matrix scaling(valueType x, valueType y)
  4. Matrix scaling(valueType[3] vec)
    struct Matrix(type, int numCols, int numRows)
    static
    scaling
    (
    valueType[3] vec
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  5. Matrix scaling(valueType x, valueType y, valueType z)

Meta