Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVecInt *GetCol(TMtxInt *Mtx, int Col); | Copies a column from matrix. |
| 2 | TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Index, int Len); | Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector elements [Index]..[Index+Len-1]. |
| 3 | TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Len); | Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector. |
Overload 1: TVecInt *GetCol(TMtxInt *Mtx, int Col);
Copies a column from matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt * | |
| 2 | Col | int |
Copies the Col-th column from Mtx matrix to calling vector. The TVecInt::Length and TVecInt::IntPrecision properties of calling vector are adjusted automatically. An exception is raised if condition checking is enabled and Col is greater than Mtx.Cols-1.
Overload 2: TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Index, int Len);
Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt * | |
| 2 | Row | int | |
| 3 | Col | int | |
| 4 | Index | int | |
| 5 | Len | int |
The TVecInt::IntPrecision property of calling vector must be set explicitly. An exception is raised if condition checking is enabled and column array borders are overrun.
Overload 3: TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Len);
Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt * | |
| 2 | Row | int | |
| 3 | Col | int | |
| 4 | Len | int |
The TVecInt::Length and TVecInt::IntPrecision properties of calling vector are adjusted automatically. An exception is raised if condition checking is enabled and column array borders are overrun.