Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods


Extreme Optimization Mathematics Library for .NET

Matrix.UnscaleRows Method 

Scales the rows of the matrix by the inverse of the values specified by a vector.

[Visual Basic]
Public Function UnscaleRows( _
   ByVal factors As Vector _
) As Matrix
[C#]
public Matrix UnscaleRows(
   Vector factors
);

Parameters

factors
A Vector containing the scale factors.

Return Value

A reference to this instance.

Remarks

This method is equivalent to pre-multiplying the matrix with the inverse of a diagonal matrix with factors as the main diagonal. This operation is the inverse of ScaleRows.

Exceptions

Exception TypeCondition
ArgumentNullExceptionfactors is .
DimensionMismatchException The length of factors does not equal the number of rows of the matrix.

See Also

Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace | ScaleRows