Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVecInt *Resize(TVecInt *Src, int Len, bool ZeroIt = false); | Resizes vector size while preserving values. |
| 2 | TVecInt *Resize(int Len, bool ZeroIt = false); | Resizes calling vector Length to Len. |
Overload 1: TVecInt *Resize(TVecInt *Src, int Len, bool ZeroIt = false);
Resizes vector size while preserving values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVecInt * | |
| 2 | Len | int | |
| 3 | ZeroIt = false | bool |
Remarks:
Resizes calling vector TVecByte::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::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler
Overload 2: TVecInt *Resize(int Len, bool ZeroIt = false);
Resizes calling vector Length to Len.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Len | int | |
| 2 | ZeroIt = false | bool |
Remarks:
If TVecByte::Length is less than Len and ZeroIt parameter is true, the remaining calling vector values are set to zero.
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler