You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > Size Method > TMtxVecInt.Size Method (TMtxVecBase)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.Size Method (TMtxVecBase)

Size the object.

Pascal
function Size(const Src: TMtxVecBase): TMtxVecInt; virtual; overload;

Assignes the size of the Src object to the calling object. If the calling object is a TVecInt object then the Src can be of any type, otherwise TMtxInt can only obtain size from a TMtxInt object and TSparseMtx can only obtain size from a TSparseMtx object. 

If the calling object and Src are of different types and both objects have a matching TMtxVecBase.LengthLengthproperty only the IntPrecision property of the calling object will changed, while all other properties describing the size of the object (rows, cols, length) will be preserved.

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