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

Subtract real Value from Src elements [SrcIndex]..[SrcIndex+Len-1].

Pascal
function Sub(const Src: TOpenCLMtxVec; Value: double; SrcIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Stores the result in calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.

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