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

Specifies size of the matrix.

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

Set the following matrix properties: 

Rows = ARows, Cols = ACols and See cref="FloatPrecision"/> = aFloatPrecision

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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!