TAbstractMtxVecInt::Size Method

Overload List

#SignatureDescription
1virtual TMtxVecInt *Size(TMtxVecBase *Src);Size the object.
2virtual TMtxVecInt *Size(TMtxVecBase *Src, TIntPrecision aPrecision);Allows the IntPrecision property of the calling object to become of aPrecision value instead of Src.IntPrecision value.

Overload 1: virtual TMtxVecInt *Size(TMtxVecBase *Src);

Size the object.

#NameTypeDescription
1SrcTMtxVecBase *
Remarks:

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 TAbstractMtxVecInt::Length property 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.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: virtual TMtxVecInt *Size(TMtxVecBase *Src, TIntPrecision aPrecision);

Allows the IntPrecision property of the calling object to become of aPrecision value instead of Src.IntPrecision value.

#NameTypeDescription
1SrcTMtxVecBase *
2aPrecisionTIntPrecision
Remarks:

It is also possible to pass the calling object as the Src with a different IntPrecision value. The value of the IntPrecision property can be changed without knowing the actual type of the object.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler