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

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].

Pascal
function SubFrom(Value: TCplx; Vec: TOpenCLMtxVec; VecIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Size property of the calling object is not changed. An exception is raised if array borders are overrun or underrun. Complex property of the calling object is set to True.

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