You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > TMtxInt.Copy Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxInt.Copy Method

Copy the Mtx elements [MtxRow,MtxCol]..[MtxRow+NrRows-1,MtxCol+NrCols-1] to the calling matrix elements [Row,Col],,[Row+NrRows-1,Col+NrCols-1].

Pascal
function Copy(const Mtx: TMtxInt; MtxRow: integer; MtxCol: integer; Row: integer; Col: integer; NrRows: integer; NrCols: integer; Transpose: boolean = false): TMtxInt; overload;

An exception is raised if TMtxVecBase.ConditionCheck is true and bounds are overrun. If Transpose is true, the matrix is transposed as well.

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