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

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

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

Size property of the calling object is not changed. An exception is raised if ConditionCheck is True and array borders are overrun or underrun. 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!