Matrix<T>.UnscaleRowsInPlace Method

Unscales the rows of the matrix by the reciprocal of the values specified by a vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public Matrix<T> UnscaleRowsInPlace(
	Vector<T> factors
)

Parameters

factors  Vector<T>
A vector containing the scale factors.

Return Value

Matrix<T>
A reference to this instance.

Remarks

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

Exceptions

ArgumentNullException

factors is .

DimensionMismatchException

The length of factors does not equal the number of rows of the matrix.

See Also