Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVecInt *Resize(TVecInt *Src, const int Len, const bool ZeroIt = false) const; | Resizes vector size while preserving values. |
| 2 | TVecInt *Resize(const int Len, const bool ZeroIt = false) const; | Resizes calling vector Length to Len. |
Overload 1: TVecInt *Resize(TVecInt *Src, const int Len, const bool ZeroIt = false) const;
Resizes vector size while preserving values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVecInt * | |
| 2 | Len | const int | |
| 3 | ZeroIt = false | const bool |
Remarks:
Resizes calling vector TMtxVecBase::Length to Len and fills it with Src vector first Len values. If Src length is less than Len and ZeroIt parameter is true, the remaining calling vector values are set to zero.
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: TVecInt *Resize(const int Len, const bool ZeroIt = false) const;
Resizes calling vector Length to Len.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Len | const int | |
| 2 | ZeroIt = false | const bool |
Remarks:
If VectorInt::Length is less than Len and ZeroIt parameter is true, the remaining calling vector values are set to zero.
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler