Note: This API is now obsolete.
Scales the rows of the matrix by the values specified by a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use the ScaleRowsInPlace method instead.")]
public Matrix<T> ScaleRows(
Vector<T> factors
)
<ObsoleteAttribute("Use the ScaleRowsInPlace method instead.")>
Public Function ScaleRows (
factors As Vector(Of T)
) As Matrix(Of T)
public:
[ObsoleteAttribute(L"Use the ScaleRowsInPlace method instead.")]
Matrix<T>^ ScaleRows(
Vector<T>^ factors
)
[<ObsoleteAttribute("Use the ScaleRowsInPlace method instead.")>]
member ScaleRows :
factors : Vector<'T> -> Matrix<'T>
Parameters
- factors
- Type: Extreme.MathematicsVectorT
A vector containing the scale factors.
Return Value
Type:
MatrixTA reference to this instance.
This method is equivalent to pre-multiplying the matrix with a diagonal matrix
with factors as the main diagonal.
Reference