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

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function UnscaleRows ( _
	factors As Vector _
) As Matrix
C#
public Matrix UnscaleRows (
	Vector factors
)
C++
public:
Matrix^ UnscaleRows (
	Vector^ factors
)

Parameters

factors (Extreme.Mathematics.LinearAlgebra.Vector)
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(Vector).

Exceptions

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

See Also