You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TDenseMtxVec Class > public > Sub Method > TDenseMtxVec.Sub Method (TMtxVec, double, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TDenseMtxVec.Sub Method (TMtxVec, double, integer, integer, integer)

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

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

Stores the result in calling object elements [Index]..[Index+Len-1]. Size and TMtxVec.Complex properties of the calling object must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis 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!