Matrix.Unscale Columns Into<T> Method
Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to this instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> UnscaleColumnsInto<T>(
Matrix<T> matrix,
Vector<T> factors,
Matrix<T> result
)
Parameters
- matrix Matrix<T>
- A matrix.
- factors Vector<T>
- A vector containing the scale factors.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
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. |