You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Mul Method > clVector.Mul Method (double)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Mul Method (double)

Multiply object elements with Value.

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

Multiplies all calling object elements with Value in-place.

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