Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods
Scales the rows of the matrix by the values specified by a vector.
A reference to this instance.
This method is equivalent to pre-multiplying the matrix with a diagonal matrix with factors as the main diagonal.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | factors is |
| DimensionMismatchException | The length of factors does not equal the number of rows of the matrix. |
Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace | UnscaleRows