You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > Mul Method > TMtxVec.Mul Method (double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.Mul Method (double)

Multiply object elements with Value.

Pascal
function Mul(const Value: double): TMtxVec; overload;

Multiplies all calling object elements with Value in-place.

var v: TVec; begin v:= TVec.Create; try v.SetIt(false,[2,3,5]); // v = [2,3,5] v.Mul(3); // v = [6,9,15] finally v.Free; end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!