You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > MulDiagRight Method > TMtx.MulDiagRight Method (TVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.MulDiagRight Method (TVec)

Multiply matrix with diagonal matrix from the right.

Pascal
function MulDiagRight(const DiagMtx: TVec): 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.Rows. This operation is the same as calling TMtx.ScaleCols.

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