Matrix.scale

scale an existing matrix with an array/vector

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

Meta