You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Mul Method > clVector.Mul Method (TOpenCLMtxVec, double, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.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. Complex propertiy 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!