You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Sub Method > Matrix.Sub Method (TMtxVec, TCplx, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Sub Method (TMtxVec, TCplx, integer, integer, integer)

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

Pascal
function Sub(const Src: TMtxVec; Value: TCplx; SrcIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Store 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 ConditionCheck is True and array borders are overrun or underrun.

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