VectorInt::Size Method

Overload List

#SignatureDescription
1TVecInt *Size(const int ALength) const;Sets the following properties
2void Size(const int ALength, const TIntPrecision aPrecision) const;Sets the following properties
3TMtxVecInt *Size(TMtxVecBase *Src) const;Size the object.

Overload 1: TVecInt *Size(const int ALength) const;

Sets the following properties

#NameTypeDescription
1ALengthconst int
Remarks:
Vec.Length := ALength;

and preserves IntPrecision value. Default IntPrecision when object is created is prInt32.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: void Size(const int ALength, const TIntPrecision aPrecision) const;

Sets the following properties

#NameTypeDescription
1ALengthconst int
2aPrecisionconst TIntPrecision
Remarks:
Vec.Precision := aPrecision;
Vec.Length := ALength;
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxVecInt *Size(TMtxVecBase *Src) const;

Size the object.

#NameTypeDescription
1SrcTMtxVecBase *
Remarks:

Assigns the size of the Src object to the calling object. If both objects have a matching VectorInt::Length property, only the VectorInt::IntPrecision property of the calling object will changed, while all other properties describing the size of the object will be preserved.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler