Matrix.MulDiagLeft Method

Overload List

#SignatureDescription
1TMtx MulDiagLeft(TVec DiagMtx)Multiply matrix with diagonal matrix from the left.
2TMtx MulDiagLeft(TVec DiagMtx, TMtx Mtx)Multiply matrix with diagonal matrix from the left.

Overload 1: TMtx MulDiagLeft(TVec DiagMtx)

Multiply matrix with diagonal matrix from the left.

#NameTypeDescription
1DiagMtxTVecsource TVec

Result: stored in self (calling object), returns self for chaining

Remarks:

DiagMtx contains the values of the main diagional of the diagonal matrix. Other values of the DiagMtx matrix are assumed to be zero. DiagMtx.Length must be equal to Self.Cols. This operation is the same as calling TMtx.ScaleRows.

Overload 2: TMtx MulDiagLeft(TVec DiagMtx, TMtx Mtx)

Multiply matrix with diagonal matrix from the left.

#NameTypeDescription
1DiagMtxTVecsource TVec
2MtxTMtxsource TMtx

Result: stored in self (calling object), returns self for chaining

Remarks:

DiagMtx contains the values of the main diagional of the diagonal matrix. Other values of the DiagMtx matrix are assumed to be zero. DiagMtx.Length must be equal to Self.Cols. This operation is the same as calling TMtx.ScaleRows.