You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > MulDiagLeft Method > Matrix.MulDiagLeft Method (TVec, TMtx)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.MulDiagLeft Method (TVec, TMtx)

Multiply matrix with diagonal matrix from the left.

Pascal
function MulDiagLeft(const DiagMtx: TVec; const Mtx: TMtx): TMtx; overload;

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!