Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *Resize(int NewRows, int NewCols); | Resizes the matrix, while preserving the values in already allocated memory. |
| 2 | TMtxInt *Resize(TMtxInt *Src, int NewRows, int NewCols); | Performs resize of the calling matrix to NewRows and NewCols. |
Overload 1: TMtxInt *Resize(int NewRows, int NewCols);
Resizes the matrix, while preserving the values in already allocated memory.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | NewRows | int | |
| 2 | NewCols | int |
Remarks:
Sets the TMtxInt::Rows property to NewRows, TMtxInt::Cols property to NewCols, while preserving the values in already allocated memory.
See Also: TMtxInt::Size
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler
Overload 2: TMtxInt *Resize(TMtxInt *Src, int NewRows, int NewCols);
Performs resize of the calling matrix to NewRows and NewCols.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxInt * | |
| 2 | NewRows | int | |
| 3 | NewCols | int |
Remarks:
Sopies the Src matrix values to the calling matrix. The elements outside the newly created matrix size are not referenced.
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler