You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Copy Method > Matrix.Copy Method (TMtx, integer, integer, integer, integer, integer, integer, boolean)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Copy Method (TMtx, integer, integer, integer, integer, integer, integer, boolean)

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: TMtx; MtxRow: integer; MtxCol: integer; Row: integer; Col: integer; NrRows: integer; NrCols: integer; Transpose: boolean = false): TMtx; overload;

An exception is raised if ConditionCheck is true and bounds are overrun. If Transpose is true, the matrix is transposed as well. An exception is raised if ConditionCheck is true and Complex properties of the calling matrix and Mtx do not match.

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