Matrix.Unscale Columns<T> Method
Unscales the columns 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.2
C#
A reference to this instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static Matrix<T> UnscaleColumns<T>(
Matrix<T> matrix,
Vector<T> factors
)
Parameters
Type Parameters
- T
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
Argument | factors is . |
Dimension | The length of factors does not equal the number of columns of the matrix. |