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

Multiply object elements with Value.

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

Multiplies all calling object elements with Value in-place.

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