TMtx.ScaleRows Method

Overload List

#SignatureDescription
1TMtx ScaleRows(TMtx Mtx, TVec Src)Scale all Mtx matrix rows with values from Src.
2TMtx ScaleRows(TVec Src)Scale all matrix rows with values from Src.

Overload 1: TMtx ScaleRows(TMtx Mtx, TVec Src)

Scale all Mtx matrix rows with values from Src.

#NameTypeDescription
1MtxTMtxsource TMtx
2SrcTVecsource TVec

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

Remarks:

Src.Length must be equal to Mtx.Rows. The result is stored in to the calling matrix.

Overload 2: TMtx ScaleRows(TVec Src)

Scale all matrix rows with values from Src.

#NameTypeDescription
1SrcTVecsource TVec

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

Remarks:

Src.Length must be equal to Self.Rows.