You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Mul Method > Matrix.Mul Method (TMtxVec, TMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Mul Method (TMtxVec, TMtxVec, integer, integer, integer, integer)

Multiply Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store the results in calling object elements [Index]..[Index+Len-1].

Pascal
function Mul(const Vec1: TMtxVec; const Vec2: TMtxVec; Vec1Index: integer; Vec2Index: integer; Index: integer; Len: integer): TMtxVec; overload;

Size and Complex properties of the calling object must be set explicitly. An exception is raised if ConditionCheck is True and array borders are overrun or underrun.

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