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

Resize and transpose.

Pascal
function ResizeAndTranspose(const Src: TMtxInt; NewRows: integer; NewCols: integer): TMtxInt;

Resizes the calling matrix to NewRows and NewCols and then copies the Src matrix values to the calling matrix. The elements outside the newly created matrix size are not referenced. At the end the method also transposes the calling matrix. All this operations are performed in one single pass.

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