Matrix.MulDiagLeft Method

Overload List

#SignatureDescription
1function MulDiagLeft(const DiagMtx: TVec): TMtx;Multiply matrix with diagonal matrix from the left.
2function MulDiagLeft(const DiagMtx: TVec; const Mtx: TMtx): TMtx;Multiply matrix with diagonal matrix from the left.

Overload 1: function MulDiagLeft(const DiagMtx: TVec): TMtx;

Multiply matrix with diagonal matrix from the left.

#NameTypeDescription
1DiagMtxTVec

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: function MulDiagLeft(const DiagMtx: TVec; const Mtx: TMtx): TMtx;

Multiply matrix with diagonal matrix from the left.

#NameTypeDescription
1DiagMtxTVec
2MtxTMtx

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.