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