You are here: Symbol Reference > MtxVec Namespace > Classes > TVec Class > public > CopyMtx Method > TVec.CopyMtx Method (TMtx, Integer, Integer, Integer, Integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVec.CopyMtx Method (TMtx, Integer, Integer, Integer, Integer)

Desc Copy Mtx elements Values1D[Row*fCols+Col]..Values1D[Row*fCols+Col+Len] in the calling vector elements [Index]..[Index+Len-1].

Pascal
function CopyMtx(const Mtx: TMtx; Index: Integer; Row: Integer; Col: Integer; Len: Integer): TVec; overload; deprecated;

The Length and TMtxVec.ComplexComplexproperties must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun. The same can be achieved by calling the Copy method.

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