You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Mul Method > TOpenCLMtxVec.Mul Method (TOpenCLMtxVec, double, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Mul Method (TOpenCLMtxVec, double, integer, integer, integer)

Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with Value.

Pascal
function Mul(const Vec: TOpenCLMtxVec; const Value: double; VecIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Store the result in calling object elements [Index]..[Index+Len-1]. Size of the calling object is not changed. An exception is raised if array borders are overrun or underrun. TOpenCLBase.ComplexComplexpropertiy of the calling object is set implicitly.

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