TMtxInt ResizeAndTranspose(TMtxInt Src, Int32 NewRows, Int32 NewCols)
Resize and transpose.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxInt | source TMtxInt |
| 2 | NewRows | Int32 | |
| 3 | NewCols | Int32 |
Result: stored in self (calling object), returns self for chaining
Remarks:
Resizes the calling matrix to NewRows and NewCols and then copies the Src matrix values to the calling matrix. The elements outside the newly created matrix size are not referenced. At the end the method also transposes the calling matrix. All this operations are performed in one single pass.