You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Size Method > Matrix.Size Method (integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.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: 

Rows = ARows, Cols = ACols and See cref="Complex"/> = false

Existing floating point precision is preserved. Calling the Size method does not preserve the contents of the matrix. Use the Resize method, if you want to preserve existing values.

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