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

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.

Pascal
function SubFrom(const Value: double; const Vec: TMtxVec; VecIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Stores the result to the calling object elements [Index]..[Index+Len-1]. Size property of the calling object is not changed. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun or underrun. TMtxVec.Complex property of the calling object is adjusted automatically.

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