Hermitian Matrix<T>.Scale Rows And Columns Method
Scales the rows and columns of the matrix by the values specified by a vector.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
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 HermitianMatrix<T> ScaleRowsAndColumns(
Vector<T> factors
)
Parameters
Return Value
HermitianMatrix<T>A reference to this instance.
Remarks
This method is equivalent to pre-multiplying and post-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 rows of the matrix. |