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

Sets the size of matrix.

Pascal
function Size(const ARows: integer; const ACols: integer): TMtx; overload;

Set the calling matrix properties:

 

Calling the Size method does not preserve the contents of the matrix. Use the Resize method, if you want to preserve existing values. 

The existing floating point precision is preserved.

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